Jump to content

Run Script


Recommended Posts

Hi all, I need help with a simple feature, "Run," I'm trying to run a program I did with auotit whenever I an alarm on the display, makes the whole process but in the end does not run the .exe, here Here is the code is simple.

WinWait("Alarm","")
WinActivate("Alarm","")
WinClose("Alarm","")
WinWait("Mini Alarma","")
WinActivate("Mini Alarma","")
WinClose("Mini Alarma","")
Run("ENVIO DE PLANILLA CADA 2 HORAS.exe","C:\Users\juan.caballeron\ENVIO DE PLANILLA CADA 2 HORAS")

the question is no mail the .exe and I could not end automation.

 

Link to comment
Share on other sites

  • Developers

The first parameter should contain the full path to the program when it is not in the same directory as the script.

Jos

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
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
 Share

×
×
  • Create New...