Jump to content

Recommended Posts

Posted

Hi Guys, As you can see my script below. the bit in green works fine, However once thats finished i need it to call another batch file....This then fails, guessing its not running the batch file. I have confirmed the batch file works fine. Anyone got any ideas?

; Script Start - Add your code below here
Run ("Install3MDrivers.exe")
winwaitactive ("3M USB Reader Driver Installation")
Send ("{enter}")
winwaitactive ("Device Driver Installation Wizard")
Send ("!n")
Winwaitactive ("Device Driver Installation Wizard", "Completing the Device Driver Installation Wizard")
Send ("{enter}")

; Install full software
run ("RFID.bat")

 

Posted

Try ShellExecute() and if its not in the script directory you need the path. 

Another thing to check since you have Waits in the script is to ensure that your script is not paused waiting for a window.

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...