gcue Posted May 15, 2008 Share Posted May 15, 2008 im creating a launchpad for multiple scripts. im only able to launch one script at a time tho. i can click on a second app while the first one is up but it wont come up until i close out the first app. is there a way around this? $actinfo_btn = GUICtrlCreateButton ("Account Info", 15,20,40,40, $BS_ICON) GUICtrlSetImage (-1, "desktop.dll",1) GUICtrlCreateLabel("Acount Info", 5, 60) GUICtrlSetOnEvent($actinfo_btn, "actinfo") $checkers_btn = GUICtrlCreateButton ("Checkers", 15,80,40,40, $BS_ICON) GUICtrlSetImage (-1, "desktop.dll",2) GUICtrlCreateLabel("Checkers", 5, 120) GUICtrlSetOnEvent($checkers_btn, "checkers") GUISetOnEvent($GUI_EVENT_CLOSE, "Xbutton") GUISetState () Link to comment Share on other sites More sharing options...
PsaltyDS Posted May 15, 2008 Share Posted May 15, 2008 im creating a launchpad for multiple scripts.im only able to launch one script at a time tho. i can click on a second app while the first one is up but it wont come up until i close out the first app.is there a way around this?AutoIt is single threaded. To run multiple scripts, they will have to be launched as entirely separate processes with Run() for example. Your first script will have to interface with the other(s) as external apps. Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law Link to comment Share on other sites More sharing options...
Kip Posted May 15, 2008 Share Posted May 15, 2008 or you could run: "[path to autoit dir]\Autoit3.exe [path to script]" MailSpons: Fake SMTP server for safe email testing Dutch postcode & address API. Link to comment Share on other sites More sharing options...
gcue Posted May 15, 2008 Author Share Posted May 15, 2008 Run instaed of Runwait worked!!thanks.AutoIt is single threaded. To run multiple scripts, they will have to be launched as entirely separate processes with Run() for example. Your first script will have to interface with the other(s) as external apps. 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