CheWalter Posted May 3, 2011 Share Posted May 3, 2011 (edited) I'm new to AutoIt, so I apologize before hand if my question is too simple. Just for practicing, I'm creating a "screen saver" (the classic bouncing text) but I dont know how to "blank" the desktop Most screen savers will clear/blank the screen and then it will show you the screen saver. After you press any key, the screen saver will stop and your desktop will be back. How do I achieve that? Thank you, Edited May 3, 2011 by CheWalter Link to comment Share on other sites More sharing options...
fett8802 Posted May 3, 2011 Share Posted May 3, 2011 Easiest way would probably be to display an image (the background image) or a splash box the size of the screen over the desktop and under your text. Then, you'd have to hotkey every key on the keyboard to remove it. -Fett [sub]My UDF[/sub][sub] - Basics and Time extensions. Great for those new at AutoIt, also contains some powerful time extensions for pros.[/sub][sub]ScrabbleIt[/sub][sub] - Scrabble done in pure AutoIt. (In Progress)[/sub][sub]Nerd Party Extreme | My Portfolio | [email="fett8802@gmail.com"]Contact Me[/email][/sub] Link to comment Share on other sites More sharing options...
wakillon Posted May 3, 2011 Share Posted May 3, 2011 Try this ! #include <WindowsConstants.au3> GuiCreate ( "", @DesktopWidth, @DesktopHeight, 0, 0, $WS_POPUP ) GuiSetState () GuiSetBkColor ( 0xFFFFFF ) Sleep ( 3000 ) AutoIt 3.3.14.2 X86 - SciTE 3.6.0 - WIN 8.1 X64 - Other Example Scripts Link to comment Share on other sites More sharing options...
CheWalter Posted May 3, 2011 Author Share Posted May 3, 2011 Thank you!! This is exactly what I wanted Try this ! #include <WindowsConstants.au3> GuiCreate ( "", @DesktopWidth, @DesktopHeight, 0, 0, $WS_POPUP ) GuiSetState () GuiSetBkColor ( 0xFFFFFF ) Sleep ( 3000 ) Link to comment Share on other sites More sharing options...
wakillon Posted May 3, 2011 Share Posted May 3, 2011 I'm impatient to see your screensaver.Glad to help you ! AutoIt 3.3.14.2 X86 - SciTE 3.6.0 - WIN 8.1 X64 - Other Example Scripts Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now