Jump to content

Anything that compares to #Persistent ?


Recommended Posts

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

Link to comment
Share on other sites

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.
Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...