ffdshow 0 Posted October 23, 2007 I use a script for silent installation of a program, but registry settings is done before installation. Because of this, RegDelete command delete nothing. I know Sleep() command, but a command more precise like start /wait from batch scripting exist in AutoIt script? Run("regc.exe /s") ; Settings RegWrite("HKLM\SOFTWARE\4Developers\RCrawler\Settings", "HKCR", "REG_DWORD", "1") RegWrite("HKLM\SOFTWARE\4Developers\RCrawler\Settings", "HKCU", "REG_DWORD", "1") RegDelete("HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run", "Registry Crawler") Share this post Link to post Share on other sites
DW1 102 Posted October 23, 2007 Like RunWait? AutoIt3 Online Help Share this post Link to post Share on other sites
Xenobiologist 47 Posted October 23, 2007 Hi, what about checking for something in a loop? If bla exists then ... else loop. 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 Share this post Link to post Share on other sites
ffdshow 0 Posted October 23, 2007 Like RunWait?AHA!Thx! Share this post Link to post Share on other sites