WesW 0 Posted March 16, 2011 Hello, I am installing a few Apps and I am trying to build a package. What is the best way to go from program to program? I am using buttons now. once the apps are complete I push the next button to run the next program. I would like to eliminate to buttons and have everything run automated. Thanks for your help... expandcollapse popupRun("\\Network path") WinWaitActive("Bentley AutoPLANT P&ID V8i","") Send("{ENTER}") WinWaitActive("Bentley AutoPLANT P&ID V8i","") Send("{ENTER}") WinWaitActive("PID Setup","Do you wish to install these components?") Sleep(1000) Send ('{LEFT}') Send("{ENTER}") WinWaitActive("P&ID V8i (SELECTseries 2)","Welcome to the Install for P&&ID V8i (SELECTseries 2)") Sleep(3000) Send('{ENTER}') WinWaitActive("P&ID V8i (SELECTseries 2)","License Agreement") Send ('{UP}') Send("{ENTER}") WinWaitActive("P&ID V8i (SELECTseries 2)","Custom Setup") Send("{ENTER}") WinWaitActive("P&ID V8i (SELECTseries 2)","Ready to Install the Program") Send("{ENTER}") WinWaitActive("P&ID V8i (SELECTseries 2)","Install Completed") Send("{ENTER}") Run("\\Network Path") WinWaitActive("Bentley Process & Instrumentation V8i","") Send("{ENTER}") WinWaitActive("Bentley Process & Instrumentation V8i","") Send("{ENTER}") WinWaitActive("P&IW V8i (SELECTseries 2)","Welcome to the Install for P&&IW V8i (SELECTseries 2)") Sleep(5000) Send('{ENTER}') WinWaitActive("P&IW V8i (SELECTseries 2)","License Agreement") Send ('{UP}') Send("{ENTER}") WinWaitActive("P&IW V8i (SELECTseries 2)","Custom Setup") Send("{ENTER}") WinWaitActive("P&IW V8i (SELECTseries 2)","Ready to Install the Program") Send("{ENTER}") WinWaitActive("P&IW V8i (SELECTseries 2)","Install Completed") Send("{ENTER}") Share this post Link to post Share on other sites
kaotkbliss 146 Posted March 16, 2011 I suppose instead of sending "enter" to click the finish button you could use ProcessClose() to kill the process since it's finished anyway. 010101000110100001101001011100110010000001101001011100110010000001101101011110010010000001110011011010010110011100100001My Android cat and mouse gamehttps://play.google.com/store/apps/details?id=com.KaosVisions.WhiskersNSqueekWe're gonna need another Timmy! Share this post Link to post Share on other sites
wakillon 404 Posted March 16, 2011 Is there silent Switches for Bentley AutoPLANT P&ID V8i ? It should be more easy... AutoIt 3.3.14.2 X86 - SciTE 3.6.0 - WIN 8.1 X64 - Other Example Scripts Share this post Link to post Share on other sites
WesW 0 Posted March 16, 2011 Is there silent Switches for Bentley AutoPLANT P&ID V8i ?It should be more easy...Thanks for all your help... It's working now... Share this post Link to post Share on other sites