Hyflex Posted August 19, 2008 Posted August 19, 2008 #NoTrayIcon Run("game.exe start game", @ScriptDir, @SW_MINIMIZE) WinWait("launcher.exe") ProcessClose("launcher.exe") WinClose("launcher.exe") Exit the launcher(script) is called launcher.exe But i can't close it after it runs... You can see i tried all 3 ways of closing the script..
Kerros Posted August 19, 2008 Posted August 19, 2008 WINWait is waiting for a Window to appear with the title launcher.exe, unless the launcher script is popping up a window with that title, the script is going to wait for that before continuing on. If there is a window you are looking to close then use the title of the window, otherwise you could use processwait for launcher.exe Kerros===============================================================How to learn scripting: Figure out enough to be dangerous, then ask for assistance.
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