nht3004 Posted June 26, 2009 Share Posted June 26, 2009 My question is on the title. Thanks in advance! for(loop=0; loop<infinity; loop++) { alert('I love you'); } Link to comment Share on other sites More sharing options...
jerem488 Posted June 26, 2009 Share Posted June 26, 2009 Hello, I hope it suits you... $hTaskbar_Wnd = WinGetHandle("[CLASS:Shell_TrayWnd]") GUICreate("title",@DesktopWidth,@DesktopHeight+60, -1,-1, $WS_POPUP, $WS_EX_TOPMOST, $hTaskbar_Wnd) GUISetState(@SW_SHOW) ; will display an empty dialog box ; Run the GUI until the dialog is closed While 1 $msg = GUIGetMsg() If $msg = $GUI_EVENT_CLOSE Then ExitLoop WEnd GUIDelete() Qui ose gagneWho Dares Win[left]CyberExploit[/left] Link to comment Share on other sites More sharing options...
nht3004 Posted June 26, 2009 Author Share Posted June 26, 2009 THanks, perfect! for(loop=0; loop<infinity; loop++) { alert('I love you'); } Link to comment Share on other sites More sharing options...
Exit Posted June 26, 2009 Share Posted June 26, 2009 Two includes where missing #include <GuiConstants.au3> #include <WindowsConstants.au3> $hTaskbar_Wnd = WinGetHandle("[CLASS:Shell_TrayWnd]") GUICreate("title",@DesktopWidth,@DesktopHeight+60, -1,-1, $WS_POPUP, $WS_EX_TOPMOST, $hTaskbar_Wnd) GUISetState(@SW_SHOW) ; will display an empty dialog box ; Run the GUI until the dialog is closed While 1 $msg = GUIGetMsg() If $msg = $GUI_EVENT_CLOSE Then ExitLoop WEnd GUIDelete() App: Au3toCmd UDF: _SingleScript() 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