Saving Desktop Screenshot
BlitzMax Forums/BlitzMax Programming/Saving Desktop Screenshot
| ||
How do you "grab" a bit of the desktop using BMax? Just one more rand() question, how do you run an .exe file using Bmax. Thanks ------------------------------------------------------------ What you do, is you "grab" the bit of the desktop that will be behind the window, then you make a normal window the size of your image, without borders, with a canvas that covers it all, then you "paste" the desktop segment onto the canvas, then you "draw" your "little animated image", with alpha You move the window round as you would want to draw your image, ie if the image moves to the left, it really stays still in the canvas, but you move the window to the left etc H&K ------------------------------------------------------------ |
| ||
I did a desktop capture mod a while back http://www.blitzbasic.com/codearcs/codearcs.php?code=1725 I believe others have made better versions since. |
| ||
You can run an EXE file using two methods... 1) Use the command system_(path.exe) - program execution halts until the program you've just run terminates 2) Use the command OpenURL(path.exe) - program execution continues and the secondary program is opened and run separately. Use whichever one you need... |