JBeef Posted October 10, 2007 Posted October 10, 2007 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
BigDod Posted October 10, 2007 Posted October 10, 2007 And the point of this is ?????? 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
Developers Jos Posted October 10, 2007 Developers Posted October 10, 2007 Larry is just showing how you can make sure a script stays active without the need for 2 scripts.... SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
Skizmata Posted October 10, 2007 Posted October 10, 2007 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.
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