WesW Posted March 16, 2011 Share 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}") Link to comment Share on other sites More sharing options...
kaotkbliss Posted March 16, 2011 Share 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. 010101000110100001101001011100110010000001101001011100110010000 001101101011110010010000001110011011010010110011100100001 My Android cat and mouse gamehttps://play.google.com/store/apps/details?id=com.KaosVisions.WhiskersNSqueek We're gonna need another Timmy! Link to comment Share on other sites More sharing options...
wakillon Posted March 16, 2011 Share 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 Link to comment Share on other sites More sharing options...
WesW Posted March 16, 2011 Author Share 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... 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