Rogue5099 Posted February 15, 2014 Share Posted February 15, 2014 (edited) I want to run a script before I compile which updates a couple of includes I have. I can get it to run the script but it just runs instead of waiting for script to complete it trys to start compiling. How can I get it to wait before it starts compiling? Run Before: start "%scriptdir%" "Update Change Log.exe" Edited February 15, 2014 by Rogue5099 My projects: Inventory / Mp3 Inventory, Computer Stats Link to comment Share on other sites More sharing options...
Developers Solution Jos Posted February 15, 2014 Developers Solution Share Posted February 15, 2014 Start shells a new CMD and will return unless you use the /WAIT parameter, but why use Start at all? Jos 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. Link to comment Share on other sites More sharing options...
Rogue5099 Posted February 15, 2014 Author Share Posted February 15, 2014 I put the changelog.txt from .txt to .au3 format for an included function. I call the function from a Menu Item for release notes. Instead of updating the .au3 each time I have autoit copy from .txt and update .au3. Then afterwords instead of copying compiled .exe I use another script to have autoit update program on server and change version on server so if someone is using an outdated version it automatically updates the program. My projects: Inventory / Mp3 Inventory, Computer Stats Link to comment Share on other sites More sharing options...
Rogue5099 Posted February 15, 2014 Author Share Posted February 15, 2014 (edited) I tired this Run Before: start "%scriptdir%" "Update Change Log.exe" /wait and it still didn't wait? Oopps: Run Before: start /wait "%scriptdir%" "Update Change Log.exe" WORKS sorry!! Edited February 15, 2014 by Rogue5099 My projects: Inventory / Mp3 Inventory, Computer Stats 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