Update History

User avatar
JHPJHP
Site Admin
Posts: 217
Joined: Wed Jun 21, 2023 10:48 am

Re: Update History

Post by JHPJHP »

Windows Service & Other Stuff

Updated:
Added \Other_Stuff\gdiPlus\AnimatedGoldfish\Animated_Goldfish.pb.
Improved \Other_Stuff\gdiPlus\ImageWindow\Image_Windowpb.

Animated Goldfish
• The nice thing about this example, it was created using gdiPlus.
• The goldfish swims over the desktop while the user still has full access to the computer.

OPTIONS:
Use the mouse to position the goldfish.
Up Arrow Key directs the goldfish at an up angle.
Down Arrow Key directs the goldfish at a down angle.
Spacebar directs the goldfish to a relatively straight line.
Esc Key fades (closes) the goldfish when the little guy has focus.

Note: FREE binaries have also been updated.

Image
The difference between stupidity and genius is that genius has its limits.
~ Albert Einstein
User avatar
JHPJHP
Site Admin
Posts: 217
Joined: Wed Jun 21, 2023 10:48 am

Re: Update History

Post by JHPJHP »

Updated:
Added \Other_Stuff\MoreStuff\ForceActiveWindow.pb.
Added \Other_Stuff\MoreStuff\MoveTransparentWindow_1.pb.
Added \Other_Stuff\MoreStuff\MoveTransparentWindow_2.pb.
Improved \Other_Stuff\EnumerateWindows\EnumerateWindows.pb
Improved \Other_Stuff\WindowsMagnification\WM_API.pb.
Improved \Other_Stuff\ManifestResource\SetManifest.pb.

Manifest Resource
See \references\readme.txt for additional information.

Note: It's not a coincidence that the numerous improvements have coincided with the new version of PureBasic.
The difference between stupidity and genius is that genius has its limits.
~ Albert Einstein
User avatar
JHPJHP
Site Admin
Posts: 217
Joined: Wed Jun 21, 2023 10:48 am

Re: Update History

Post by JHPJHP »

Updated:
Minor improvements to various examples.
Removed old WebGadget examples.

It didn't make much sense supporting examples made using the old PureBasic WebGadget.

NOTE: Most applications made using the old PureBasic WebGadget are currently being maintained.
The difference between stupidity and genius is that genius has its limits.
~ Albert Einstein
User avatar
JHPJHP
Site Admin
Posts: 217
Joined: Wed Jun 21, 2023 10:48 am

Re: Update History

Post by JHPJHP »

Updated:
Added \Other_Stuff\gdiPlus\ConvertImage\Convert_Image.pb.
Various improvements to numerous examples.

Convert Image
This is another gdiPlus example that converts image files to various formats.
• Supports PNG transparency.
• Supports image resizing and more.
• Includes a patch script to enable GIF transparency.

Used Resources:
https://www.autohotkey.com/boards/viewtopic.php?t=63345
https://www.devhut.net/resizing-and-or- ... ng-gdi-api
https://github.com/Alexpux/mingw-w64/tr ... de/gdiplus

Listing Parameters and Values for All Encoders:
https://learn.microsoft.com/en-us/windo ... coders-use
The difference between stupidity and genius is that genius has its limits.
~ Albert Einstein
User avatar
JHPJHP
Site Admin
Posts: 217
Joined: Wed Jun 21, 2023 10:48 am

Re: Update History

Post by JHPJHP »

Updated:
Added HtmlTidy\HtmlTidy.pb.
Various improvements to numerous examples.

HTML Tidy
This is a basic implementation of the utility.
https://binaries.html-tidy.org/
https://api.html-tidy.org/tidy/tidylib_ ... dylib.html
https://api.html-tidy.org/tidy/tidylib_ ... ckref.html
The difference between stupidity and genius is that genius has its limits.
~ Albert Einstein
User avatar
JHPJHP
Site Admin
Posts: 217
Joined: Wed Jun 21, 2023 10:48 am

Re: Update History

Post by JHPJHP »

Updated:
Added \Other_Stuff\MoreStuff\OpenWeatherAPI.pb.
Added \Other_Stuff\ProcessStuff\RunProcess\SICP.pb.
Improved \Other_Stuff\ProcessStuff\RunProcess\RPaU.pb
The difference between stupidity and genius is that genius has its limits.
~ Albert Einstein
User avatar
JHPJHP
Site Admin
Posts: 217
Joined: Wed Jun 21, 2023 10:48 am

Re: Update History

Post by JHPJHP »

Updated:
Added \Other_Stuff\SetSecurityPermissions\standalone\RegistryOwner.pb.
Added \Other_Stuff\SetSecurityPermissions\standalone\RegistryPermissions.pb.
Improved \Other_Stuff\SetSecurityPermissions\FilePermissions.pb.
Improved \Other_Stuff\SetSecurityPermissions\RegistryPermissions.pb.
Improved \Other_Stuff\PrinterStuff\includes\PrinterStuff.pbi.

Over the years, I've written numerous scripts using SetNamedSecurityInfo in various contexts such as file and folder access, printer management, and registry operations.

Despite my experience in this area, I hadn’t come across RtlAdjustPrivilege before.
• Read about on the PureBasic Forum: https://www.purebasic.fr/english/viewto ... 96#p643596.

For anyone interested in privilege manipulation, take note of this function. Unlike AdjustTokenPrivileges, which can add or remove privileges to the current process token, it alone is not sufficient when accessing certain protected resources such as parts of the registry. In those cases, impersonating a higher-privileged token is also required, which involves more code and a deeper understanding of Windows security. Whereas RtlAdjustPrivilege can modify the protected token directly, which makes it a powerful and potentially concerning function.
The difference between stupidity and genius is that genius has its limits.
~ Albert Einstein
User avatar
JHPJHP
Site Admin
Posts: 217
Joined: Wed Jun 21, 2023 10:48 am

Re: Update History

Post by JHPJHP »

Updated:
Added \Other_Stuff\OpenWeather\AirPollution.pb.
Added \Other_Stuff\OpenWeather\Current.pb.
Added \Other_Stuff\OpenWeather\Forecast.pb.
Added \Other_Stuff\OpenWeather\Geocoding.pb.
Added \Other_Stuff\OpenWeather\MapLayers.pb.

Current.pb: Returns formatted list.
AirPollution.pb, Forecast.pb, Geocoding.pb: Returns "pretty" JSON.
MapLayers.pb: Returns URL.

Current weather and forecasts: OpenWeather
• Free for everyone
• 60 API calls/minute
• 1,000,000 calls/month
The difference between stupidity and genius is that genius has its limits.
~ Albert Einstein
User avatar
JHPJHP
Site Admin
Posts: 217
Joined: Wed Jun 21, 2023 10:48 am

Re: Update History

Post by JHPJHP »

Updated:
Added \Other_Stuff\UIAutomation\UIA.pb.
Added \Other_Stuff\PostgreSQL\Test Connection.pb.
Improved \Other_Stuff\IconViewLayout\Windows_All.pb.
Improved \Other_Stuff\BlurBehindWindow\BlurBehindWindow.pb.

Note: FREE binaries have also been updated.

Image
The difference between stupidity and genius is that genius has its limits.
~ Albert Einstein
User avatar
JHPJHP
Site Admin
Posts: 217
Joined: Wed Jun 21, 2023 10:48 am

Re: Update History

Post by JHPJHP »

Updated:
Added \Other_Stuff\CommonItemDialog\OFR_Threaded.pb.
Improved \Other_Stuff\CommonItemDialog\OFR.pb.

Improvements:
• Option to add multiple Buttons (PushButton).
• Option to add multiple CheckBoxes (CheckButton).
• Added working ComboBox to set a directory.
• V-Table lookup supporting the following custom control events:
- OnItemSelected
- OnButtonClicked
- OnCheckButtonToggled
- OnControlActivating
• Documentation with code examples for the following custom controls:
- PushButton
- CheckButton
- ComboBox
- RadioButtonList
- Text
- EditBox
- Separator
- Menu
• Code examples can be copied & pasted into existing Procedure for additional custom controls.

Note: FREE binaries have also been updated.

Image
The difference between stupidity and genius is that genius has its limits.
~ Albert Einstein
Locked