xandout Posted October 26, 2009 Share Posted October 26, 2009 Hey all i have about 8 scripts im using to automate system restores but when i compile one ie flash.au3 to Flash.exe i end up with 80 no joke 80 flash.exe's running how can i stop this? Run('flash.exe') WinWait("Adobe Flash Player Plugin Setup: Completed","Show &details") If Not WinActive("Adobe Flash Player Plugin Setup: Completed","Show &details") Then WinActivate("Adobe Flash Player Plugin Setup: Completed","Show &details") WinWaitActive("Adobe Flash Player Plugin Setup: Completed","Show &details") Send("{ALTDOWN}c{ALTUP}") Link to comment Share on other sites More sharing options...
omikron48 Posted October 26, 2009 Share Posted October 26, 2009 Umm, is your script name the same as the program you are trying to run? By default, AutoIt locates files in the same folder as the script before anywhere else. In the case your script has the same name as the program, the script will run a new instance of itself recursively. Link to comment Share on other sites More sharing options...
xandout Posted October 26, 2009 Author Share Posted October 26, 2009 Thank YoU!!!!!!!!!!!!! it worked I renamed flash.au3 to flsh.au3 compiled and it worked. Link to comment Share on other sites More sharing options...
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