the101dan Posted November 2, 2008 Share Posted November 2, 2008 I like #Persistent in ahk. IDK if I am allowed to say ahk here, but w/e. Everyone already knows autoit is better. Is there anything in autoit that does almost the same as #Persistent in ahk? Note: #Persistent - Keeps a script permanently running (that is, until the user closes it or ExitApp is encountered). Link to comment Share on other sites More sharing options...
dbzfanatic Posted November 2, 2008 Share Posted November 2, 2008 While 1, you really need to read the helpfile. Any loop structure will keep the script going until the loop is terminated. Go to my website. | My Zazzle Page (custom products)Al Bhed Translator | Direct linkScreenRec ProSimple Text Editor (STE) [TUTORIAL]Task Scheduler UDF <--- First ever UDF!_ControlPaste() UDF[quote name='renanzin' post='584064' date='Sep 26 2008, 07:00 AM']whats help ?[/quote] Link to comment Share on other sites More sharing options...
Cw2K1 Posted November 2, 2008 Share Posted November 2, 2008 (edited) I like #Persistent in ahk. IDK if I am allowed to say ahk here, but w/e. Everyone already knows autoit is better. Is there anything in autoit that does almost the same as #Persistent in ahk? Note: #Persistent - Keeps a script permanently running (that is, until the user closes it or ExitApp is encountered).See the help file for While...WEnd For...Next also there is a function in Valuater's Autoit wrappers (In example scripts) for what you want (I Guess). here is it ; Restart your program ; Author UP_NORTH Func _restart() If @Compiled = 1 Then Run( FileGetShortName(@ScriptFullPath)) Else Run( FileGetShortName(@AutoItExe) & " " & FileGetShortName(@ScriptFullPath)) EndIf Exit EndFunc if you are new than don't forget to visit AutoIt wrappers's thread by Valuater http://www.autoitscript.com/forum/index.ph...owtopic=19370 Cw2k Edited November 2, 2008 by Cw2K1 Enjoy the complexity.Feel the power of simplicity. Link to comment Share on other sites More sharing options...
the101dan Posted November 3, 2008 Author Share Posted November 3, 2008 I get the loops. I already have them in this bot. I just want to know how to make something run forever and at the same time, a msgbox popping up or something. Link to comment Share on other sites More sharing options...
Richard Robertson Posted November 3, 2008 Share Posted November 3, 2008 No. If this is related to your "prank" from the now-locked thread, we don't like that kind of thing here. 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