Sign in to follow this  
Followers 0
WesW

Software Package Question

4 posts in this topic

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...

Run("\\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



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 game
https://play.google.com/store/apps/details?id=com.KaosVisions.WhiskersNSqueek

We're gonna need another Timmy!

Share this post


Link to post
Share on other sites

Is there silent Switches for Bentley AutoPLANT P&ID V8i ?

It should be more easy...


AutoIt 3.3.14.2 X86 - SciTE 3.6.0WIN 8.1 X64 - Other Example Scripts

Share this post


Link to post
Share on other sites

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

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0