PHAK 2 Posted December 15, 2020 (edited) When I write like this he runs them both together I want 2 to run after 1 So I thought maybe I'll just put some sleep statements, but then I have to figure out how best to optimize it, AND I have to consider whether others 'computers' speeds because a slow computer would need to have longer delays between commands. That would be impossible to optimize for everyone. no "sleep" #RequireAdmin Run(@ScriptDir & '\1.exe') Run(@ScriptDir & '\2.exe') Edited December 16, 2020 by PHAK Share this post Link to post Share on other sites
Nine 993 Posted December 15, 2020 See RunWait in help file. 1 PHAK reacted to this Not much of a signature but working on it... Spoiler Block all input without UAC Save/Retrieve Images to/from Text Tool to search content in au3 files Date Range Picker Sudoku Game 2020 Overlapped Named Pipe IPC x64 Bitwise Operations Multi-keyboards HotKeySet Fast and simple WCD IPC GIF Animation (cached) Share this post Link to post Share on other sites
TheXman 405 Posted December 15, 2020 Did you try RunWait()? 1 PHAK reacted to this About TheXman | CryptoNG UDF - Cryptography API: Next Gen | HttpApi UDF - HTTP Server API | jq UDF - Powerful and Flexible JSON Processor Share this post Link to post Share on other sites
PHAK 2 Posted December 15, 2020 #RequireAdmin RunWait(@ScriptDir & '\1.exe') RunWait(@ScriptDir & '\2.exe') Thank you Excellent Share this post Link to post Share on other sites