Windows Services & Other Stuff
Re: Windows Services & Other Stuff
Hi BarryG,
While my preference was Windows_10.pb your choice of Windows_All.pb was the obvious one for all the reasons you posted.
Additional Notes:
Expanding the ribbon menu can also be handled by the IAccessible Interface. In addition, I'm seeing about a half second delay, which is still too long, but the example was more of a demonstration, something to be referenced when this type of solution better fits the requirements.
Not for this example, but to speed up the code and make it for any language is a fairly simple process, something I've done in other projects.
While my preference was Windows_10.pb your choice of Windows_All.pb was the obvious one for all the reasons you posted.
Additional Notes:
Expanding the ribbon menu can also be handled by the IAccessible Interface. In addition, I'm seeing about a half second delay, which is still too long, but the example was more of a demonstration, something to be referenced when this type of solution better fits the requirements.
Not for this example, but to speed up the code and make it for any language is a fairly simple process, something I've done in other projects.
Re: Windows Services & Other Stuff
All good, JHPJHP. I'll code my way around the hotkey issue that I have. Thanks again - I appreciate your contributions to the language. I don't want to be accused of spamming, but donating to JHPJHP was definitely worth it to get his code examples and help.
Re: Windows Services & Other Stuff
Hi BarryG, Caronte3D,
Thank you for your post and kind words.
-------------------------
Updated:
- added a new folder and examples to \Other_Stuff\OldSkoolEffects\
-- SpecBAS\
--- Alpha_Graphic.pb,
--- Alpha_Sparkles.pb,
--- Alpha_Wind.pb,
--- Bubble_Universe.pb,
--- Deep_Field.pb,
--- Digital_Rain.pb,
--- Dither_Cloud.pb,
--- Elasticles.pb,
--- Evolution.pb
--- Flux.pb,
--- Gears.pb
--- Lissajous_Curves.pb,
--- Maya_Motor.pb,
--- Maze_Fill.pb,
--- Perlin_Land.pb
--- Rotating_Tesseract.pb,
--- Sine_Wave.pb,
--- Snowflakes.pb
--- Starfield.pb,
--- Voronoi.pb,
--- Wool_Ball.pb,
--- Yin_Yang.pb
An earlier version of the Bubble Universe example (posted code) can be found here.
NB*: Translated examples from https://github.com/ZXDunny/SpecBAS-Demos.
Thank you for your post and kind words.
-------------------------
Updated:
- added a new folder and examples to \Other_Stuff\OldSkoolEffects\
-- SpecBAS\
--- Alpha_Graphic.pb,
--- Alpha_Sparkles.pb,
--- Alpha_Wind.pb,
--- Bubble_Universe.pb,
--- Deep_Field.pb,
--- Digital_Rain.pb,
--- Dither_Cloud.pb,
--- Elasticles.pb,
--- Evolution.pb
--- Flux.pb,
--- Gears.pb
--- Lissajous_Curves.pb,
--- Maya_Motor.pb,
--- Maze_Fill.pb,
--- Perlin_Land.pb
--- Rotating_Tesseract.pb,
--- Sine_Wave.pb,
--- Snowflakes.pb
--- Starfield.pb,
--- Voronoi.pb,
--- Wool_Ball.pb,
--- Yin_Yang.pb
An earlier version of the Bubble Universe example (posted code) can be found here.
NB*: Translated examples from https://github.com/ZXDunny/SpecBAS-Demos.
Re: Windows Services & Other Stuff
Updated:
- \Other_Stuff\OldSkoolEffects\SpecBAS\...
-- restructured code
-- improved numerous examples
-- added a second Perlin Noise Procedure
The total number of examples has reached 22.
Perlin Noise Procedures
A couple examples required this algorithm, so I borrowed this one from ricardo_sdl, but the results didn't match the demo, so I decided to rewrite it from scratch using the original source code. Again, the results were not what I was expecting, but I kept the Procedure anyway. I found another example on Rosetta Code, but it would crash one of my examples when certain parameters were set. This led me back to the original SpecBAS source, and of course it contained the version I was looking for which closely match the version from Rosetta Code, but with some important differences.
- \Other_Stuff\OldSkoolEffects\SpecBAS\...
-- restructured code
-- improved numerous examples
-- added a second Perlin Noise Procedure
The total number of examples has reached 22.
Perlin Noise Procedures
A couple examples required this algorithm, so I borrowed this one from ricardo_sdl, but the results didn't match the demo, so I decided to rewrite it from scratch using the original source code. Again, the results were not what I was expecting, but I kept the Procedure anyway. I found another example on Rosetta Code, but it would crash one of my examples when certain parameters were set. This led me back to the original SpecBAS source, and of course it contained the version I was looking for which closely match the version from Rosetta Code, but with some important differences.
Last edited by JHPJHP on Mon Jan 23, 2023 7:59 am, edited 4 times in total.
Re: Windows Services & Other Stuff
Updated:
- \Other_Stuff\OldSkoolEffects\SpecBAS\Digital_Rain.pb
Just noticed that the timing was off in the "Matrix" example; single parameter was set incorrectly.
- \Other_Stuff\OldSkoolEffects\SpecBAS\Digital_Rain.pb
Just noticed that the timing was off in the "Matrix" example; single parameter was set incorrectly.
Re: Windows Services & Other Stuff
Hi JHPJHP, I totally overlooked your post about the new "SpecBAS" folder. I love it! Such cool examples in there.
Re: Windows Services & Other Stuff
@JHPJHP I having a problem to do donation. Paypal not allow it. I pm you a screenshot
Re: Windows Services & Other Stuff
Hi BarryG,
That's great, I'm glad you liked them; it was your link that got me started.
While I did spend the better part of a week on the conversions, the credit goes to Paul Dunn ~developer of SpecBas.
--------------------
Hi mag,
I saw your PM and replied with a solution that should be acceptable.
--------------------
Updated:
- \Other_Stuff\OldSkoolEffects\SpecBAS\
-- added Attraction.pb
-- added Bubble_Universe_2_3.pb
-- added Elastic_Grid.pb
-- added Glitter.pb
-- added Hyperspace.pb
-- added Morass.pb
-- added Rain_Drops.pb
-- added Sin_Stack.pb
-- added Sines.pb
-- added Tiffany_Spiral.pb
-- various enhancements to numerous examples
I really like the example Hyperspace.pb. While it's a fairly basic effect, the way the effect is processed is interesting; the lines are static, but the color palette is shifted.
Animation created using Video Snipping Tool.
That's great, I'm glad you liked them; it was your link that got me started.
While I did spend the better part of a week on the conversions, the credit goes to Paul Dunn ~developer of SpecBas.
--------------------
Hi mag,
I saw your PM and replied with a solution that should be acceptable.
--------------------
Updated:
- \Other_Stuff\OldSkoolEffects\SpecBAS\
-- added Attraction.pb
-- added Bubble_Universe_2_3.pb
-- added Elastic_Grid.pb
-- added Glitter.pb
-- added Hyperspace.pb
-- added Morass.pb
-- added Rain_Drops.pb
-- added Sin_Stack.pb
-- added Sines.pb
-- added Tiffany_Spiral.pb
-- various enhancements to numerous examples
I really like the example Hyperspace.pb. While it's a fairly basic effect, the way the effect is processed is interesting; the lines are static, but the color palette is shifted.
Animation created using Video Snipping Tool.
Re: Windows Services & Other Stuff
Updated:
- added a bunch more examples; see previous post
- various minor updates
The total number of examples has reached 32.
My favorite this time is Attraction.pb, but the effect is better viewed live, so no screenshot or animated GIF.
Instead, here is a screenshot from one of the other new examples.
- added a bunch more examples; see previous post
- various minor updates
The total number of examples has reached 32.
My favorite this time is Attraction.pb, but the effect is better viewed live, so no screenshot or animated GIF.
Instead, here is a screenshot from one of the other new examples.
Re: Windows Services & Other Stuff
Hi BarryG,
You are most welcome.
------------------------------------------
Updated:
- added \Other_Stuff\ProcessStuff\RunProcess\SICP-EXE.pb
Based on a question asked here and converted from Starting an Interactive Client Process.
The example requires a username and password. In addition, the account running the script requires the SE_ASSIGNPRIMARYTOKEN_NAME and SE_INCREASE_QUOTA_NAME privileges; compile the example and execute it from the NT Authority\System account.
You are most welcome.
------------------------------------------
Updated:
- added \Other_Stuff\ProcessStuff\RunProcess\SICP-EXE.pb
Based on a question asked here and converted from Starting an Interactive Client Process.
The example requires a username and password. In addition, the account running the script requires the SE_ASSIGNPRIMARYTOKEN_NAME and SE_INCREASE_QUOTA_NAME privileges; compile the example and execute it from the NT Authority\System account.
Re: Windows Services & Other Stuff
Just sent my donation. Happy to support your work!
Best wishes to the PB community. Thank you for the memories.
Re: Windows Services & Other Stuff
Hi Kuron,
Your donation is very much appreciated as are your supportive comments. I hope you find some of the code useful or at least interesting.
Your donation is very much appreciated as are your supportive comments. I hope you find some of the code useful or at least interesting.
Re: Windows Services & Other Stuff
Updated:
- added \Other_Stuff\ResizeWindowEx\ResizeWindowEx.pb
While working on the Chromium WebGadget\CrWG Builder, I wanted a “flicker-free” method for animating a window when it was resized and/or moved.
ResizeWindowEx.pb: Works the same as its PureBasic counterpart, but with animation, more flexibility and additional constants.
Available Constants
- #PB_Ignore (X, Y, Width, Height)
- #PB_InPlace, #PB_Center (X / Y)
- #PB_Left, #PB_Right (X)
- #PB_Top, #PB_Bottom (Y)
- added \Other_Stuff\ResizeWindowEx\ResizeWindowEx.pb
While working on the Chromium WebGadget\CrWG Builder, I wanted a “flicker-free” method for animating a window when it was resized and/or moved.
ResizeWindowEx.pb: Works the same as its PureBasic counterpart, but with animation, more flexibility and additional constants.
Available Constants
- #PB_Ignore (X, Y, Width, Height)
- #PB_InPlace, #PB_Center (X / Y)
- #PB_Left, #PB_Right (X)
- #PB_Top, #PB_Bottom (Y)