Sign in to follow this  
Followers 0
JBeef

Big Brother

4 posts in this topic

run it and cannot unrun it. interesting.

;Compile me and run me and I never die

#NoTrayIcon

Global $pid

If Not @Compiled Then Exit

If $cmdline[0] = 0 Then
    $pid = Run('"' & @ScriptFullPath & '" ' & @AutoItPID)
Else
    $pid = Number($cmdline[1])
EndIf

While 1
    While ProcessExists($pid)
        Sleep(5)
    WEnd
    $pid = Run('"' & @ScriptFullPath & '" ' & @AutoItPID)
WEnd
~Jap

Share this post


Link to post
Share on other sites

And the point of this is ??????



Get Beta versions Here Get latest SciTE editor Here AutoIt 1-2-3 by Valuater - A great starting point.

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

Share this post


Link to post
Share on other sites

This is actualy helpful for me I had been using a 2 script method as Jos mentioned.

Thanks JBeef

Good Work.


AutoIt changed my life.

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  
Followers 0