Paulie Posted July 7, 2006 Posted July 7, 2006 I have a autoit exe and i want to make it my screen saver. do i need to set all the parameters and everything like a config window or whatever, because i have nothing to config with this. here is my code: #Include <GuiConstants.au3> opt('WinTitleMatchMode', 4) HotKeySet("{ESC}","Terminate") Global $window_[2000], $x, $y, $int, $label_[2000] While 1 WinMinimizeall() WinSetState("classname=Shell_TrayWnd", "", @SW_HIDE) WinSetState("Program Manager", "", @SW_HIDE) For $int= 10 to 1010 $x = Random(0, @DesktopWidth) $y = Random(0, @DesktopHeight) MouseMove($x, $y,5) Sleep(50) ToolTip($int-10, 1, 1) $window_[$int] = GuiCreate("", 30, 15, $x, $y, $WS_PopUp, BitOR($WS_EX_TOPMOST, $WS_EX_TOOLWINDOW)) GuiSetBKColor(0xF0F0F0) $label_[$int] = GuiCtrlCreateLabel("Hello", 2.5, 1) GuiCtrlSetColor($label_[$int], 0xff0000) GuiSetState() Sleep(50) $Num = $int - 10 GUIDelete($window_[$Num]) Next Wend Func Terminate() WinMinimizeAllUndo() WinSetState("classname=Shell_TrayWnd", "", @SW_SHOW) WinSetState("Program Manager", "", @SW_SHOW) Exit 0 EndFunc
BigDod Posted July 7, 2006 Posted July 7, 2006 Compile your script and then change the extension to .scr Time you enjoyed wasting is not wasted time ......T.S. Elliot Suspense is worse than disappointment................Robert Burns God help the man who won't help himself, because no-one else will...........My Grandmother
Paulie Posted July 7, 2006 Author Posted July 7, 2006 Compile your script and then change the extension to .scrI tried that, and i put it in system folder w/ other screen savers, ad windows did not detect it as a screensaver in the display options
BigDod Posted July 7, 2006 Posted July 7, 2006 I tried that, and i put it in system folder w/ other screen savers, ad windows did not detect it as a screensaver in the display optionsIt works when I put it into system32 folder on Win XP Pro. Time you enjoyed wasting is not wasted time ......T.S. Elliot Suspense is worse than disappointment................Robert Burns God help the man who won't help himself, because no-one else will...........My Grandmother
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