Jump to content
Sign in to follow this  
the101dan

Anything that compares to #Persistent ?

Recommended Posts

the101dan

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).

Share this post


Link to post
Share on other sites
dbzfanatic

Share this post


Link to post
Share on other sites
Cw2K1

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 by Cw2K1

Enjoy the complexity.Feel the power of simplicity.

Share this post


Link to post
Share on other sites
the101dan

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.

Share this post


Link to post
Share on other sites
Richard Robertson

No. If this is related to your "prank" from the now-locked thread, we don't like that kind of thing here.

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×