Zak Blayde Posted November 23, 2006 Share Posted November 23, 2006 (edited) Hi, I have a big problem. When I launch my Autoit exe, it doesn't work, but in the system tray the autoit icon appears. Then, if I launch the AutoIT exe a second time OR if I launch the exe of my program first line(run("xxx")), it works ! What can I do to make the thing works from the first time ? Edited November 23, 2006 by Zak Blayde Link to comment Share on other sites More sharing options...
Xenobiologist Posted November 23, 2006 Share Posted November 23, 2006 Hi, difficult to say. Maybe looking at the code helps. So long, Mega Scripts & functions Organize Includes Let Scite organize the include files Yahtzee The game "Yahtzee" (Kniffel, DiceLion) LoginWrapper Secure scripts by adding a query (authentication) _RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...) Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc. MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times Link to comment Share on other sites More sharing options...
Zak Blayde Posted November 23, 2006 Author Share Posted November 23, 2006 (edited) I thought to a windows problem... but I'm not sure...Maybe a compilation option ?edit : it's on XP.my code :run("setup.exe")winWaitActive("Fichier ouvert - Avertissement de sécurité", "Exécuter")send("!e")winWaitActive("Welcome", "Next >")AutoItSetOption("SendKeyDelay" , 100)send("{TAB}")Send("{UP}")Send("{SPACE}")Send("!n")WinWaitActive("Start Copying Files", "Next")Send("!n")WinWaitActive("Setup Completed", "Finish")Send("{ENTER}") Edited November 23, 2006 by Zak Blayde Link to comment Share on other sites More sharing options...
Xenobiologist Posted November 23, 2006 Share Posted November 23, 2006 HI, I think it is not the code: try this: run("setup.exe") MsgBox(64,"Info", "Install started", 3) winWaitActive("Fichier ouvert - Avertissement de sécurité", "Exécuter") send("!e") winWaitActive("Welcome", "Next >") AutoItSetOption("SendKeyDelay" , 100) send("{TAB}") Send("{UP}") Send("{SPACE}") Send("!n") WinWaitActive("Start Copying Files", "Next") Send("!n") WinWaitActive("Setup Completed", "Finish") Send("{ENTER}") So long, Mega Scripts & functions Organize Includes Let Scite organize the include files Yahtzee The game "Yahtzee" (Kniffel, DiceLion) LoginWrapper Secure scripts by adding a query (authentication) _RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...) Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc. MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times 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