pantz Posted February 6, 2009 Share Posted February 6, 2009 I have multiple scripts run after the computer finishes mini setup. But I would like the scripts to wait till after the "Personalized Settings" window disappears but it won't. Does anyone have any other ideas? I have tried to get info on that windows but it is gone before I can. Should I wait till say something like Mcafee.exe launches? Has anyone else done something like this? Thanks, Jason Link to comment Share on other sites More sharing options...
LarryDalooza Posted February 6, 2009 Share Posted February 6, 2009 I am a little unclear as to when the script is running.What is launching the script?What user context is the script running as?What do you really want to wait for before the script does its thing?What for the shell to arrive ("Program Manager") ?Wait for CPU to settle down (loop for 10 consecutive < 20%) ?Need more info.Lar. AutoIt has helped make me wealthy Link to comment Share on other sites More sharing options...
pantz Posted February 6, 2009 Author Share Posted February 6, 2009 Hey Larry, Sysprep is launching the script [GuiRunOnce]. The user is Admin, I would like to add this piece to another script that launches after a second reboot as well. I do a reboot to pickup the wireless card and change resolution. I guess wait till Program Manager arrives would be something to try. Would I use "ProcessWait" for this? or How would I wait for the CPU to settle? Thanks, Jason I am a little unclear as to when the script is running. What is launching the script? What user context is the script running as? What do you really want to wait for before the script does its thing? What for the shell to arrive ("Program Manager") ? Wait for CPU to settle down (loop for 10 consecutive < 20%) ? Need more info. Lar. Link to comment Share on other sites More sharing options...
LarryDalooza Posted February 6, 2009 Share Posted February 6, 2009 WinWait("Program Manager")oÝ÷ ÚÚºÚ"µÍYØZ]ÞÝ[TÙ]Y H[SÙÐÞ M ][ÝÉ][ÝË ][ÝÍHÛÛÙXÝ]]HÛÈÙ[ L ][ÝÊB[ÙBSÙÐÞ M ][ÝÉ][ÝË ][ÝÕØZ]ÞÝ[TÙ]Y HZ[Y ][ÝÊB[Y[ÈØZ]ÞÝ[TÙ]Y BSØØ[ ÌÍÝØ[QYÔ][[YYX][HHLSØØ[ ÌÍÝØ[QYÑÜØÛHHSØØ[ ÌÍØÛÛ][Ë ÌÍÝ ÌÍÛHSØØ[ ÌÍÛØÓRTÙXÙHHØÙ] ][ÝÝÚ[YÛ]ÎÌLÉÌLÛØØ[ÜÝ ÌLÜÛÝ ÌLÐÒSU][ÝÊBBRYÝÓØ ÌÍÛØÓRTÙXÙJH[]Ù]ÜNK BBIÌÍÝH[Y[] BUÚ[HBBIÌÍØÛÛ][ÈH ÌÍÛØÓRTÙXÙK^XÔ]YJ ][ÝÔÑSPÕ ÓHÚ[ÌÔØÙÜÛÜ][ÝË ][ÝÕÔS ][ÝË ÌÍÝØ[QYÔ][[YYX][H È ÌÍÝØ[QYÑÜØÛJBBRYÓØ ÌÍØÛÛ][ÊH[BBQÜ ÌÍÛØ][H[ ÌÍØÛÛ][ÂBBBRY ÌÍÛØ][KØYÙ[YÙH È[BBBBIÌÍÛ ÏHBBBBQ[ÙBBBBBIÌÍÛHBBBQ[YBBS^BQ[ÙBBBT]Ù]ÜNNK BBQ[YBNÒYÙHÙHØZ][È[ÜH[LZ[]È[Ú]HBRY[YY ÌÍÝ H ÝÈ []Ù]ÜK BBNÒYÙH[ HÛÛÙXÝ]]H[ L[]BRY ÌÍÛH H[]BBBBTÛY L BUÙ[[[ AutoIt has helped make me wealthy 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