Jump to content

Run two exe files


Recommended Posts

Hi team,

I am brand new to AutoIT so looking for help and/or if someone could point me in the right direction please

I am creating a script to install a program called FabFilters and there is multiple .exe files to install

I have Run(@ScriptDir & '\1. fftotalbundlex64.exe') at the start and and installs the first .exe then at the end I have  Run(@ScriptDir & 'ffprol128x64.exe') to start the second .exe file but that does not run. 

 

Can you help? I have attached my script if anyone wants to have a look over it

Run(@ScriptDir & '\1. fftotalbundlex64.exe')
AutoItSetOption('MouseCoordMode', 0)

WinWait('FabFilter Total Bundle Setup (64-bit)')
WinActivate('FabFilter Total Bundle Setup (64-bit)')
MouseClick('Primary', 366, 377, 1, 5)
Sleep(300)
WinWait('FabFilter Total Bundle Setup (64-bit)')
WinActivate('FabFilter Total Bundle Setup (64-bit)')
MouseClick('Primary', 361, 368, 1, 5)
Sleep(300)
WinWait('FabFilter Total Bundle Setup (64-bit)')
WinActivate('FabFilter Total Bundle Setup (64-bit)')
MouseClick('Primary', 444, 320, 1, 5)
Sleep(300)
MouseClick('Primary', 192, 139, 1, 5)
Sleep(300)
MouseClick('Primary', 193, 154, 1, 5)
Sleep(300)
MouseClick('Primary', 193, 170, 1, 5)
Sleep(300)
MouseClick('Primary', 192, 202, 1, 5)
Sleep(300)
WinWait('FabFilter Total Bundle Setup (64-bit)')
WinActivate('FabFilter Total Bundle Setup (64-bit)')
MouseClick('Primary', 479, 294, 1, 5)
Sleep(300)
WinWait('FabFilter Total Bundle Setup (64-bit)')
WinActivate('FabFilter Total Bundle Setup (64-bit)')
MouseClick('Primary', 479, 294, 1, 5)
Sleep(300)
WinWait('FabFilter Total Bundle Setup (64-bit)')
WinActivate('FabFilter Total Bundle Setup (64-bit)')
MouseClick('Primary', 193, 283, 1, 5)
Sleep(300)
WinWait('FabFilter Total Bundle Setup (64-bit)')
WinActivate('FabFilter Total Bundle Setup (64-bit)')
MouseClick('Primary', 336, 371, 1, 5)
Sleep(300)
WinWait('FabFilter Total Bundle Setup (64-bit)')
WinActivate('FabFilter Total Bundle Setup (64-bit)')
MouseClick('Primary', 336, 371, 1, 5)
Sleep(300)
WinWait('FabFilter Total Bundle Setup (64-bit)')
WinActivate('FabFilter Total Bundle Setup (64-bit)')
MouseClick('Primary', 336, 371, 1, 5)
Sleep(300)
WinWait('FabFilter Total Bundle Setup (64-bit)')
WinActivate('FabFilter Total Bundle Setup (64-bit)')
MouseClick('Primary', 336, 371, 1, 5)
WinWait('FabFilter Total Bundle Setup (64-bit)', 'Show &Readme.txt')
WinActivate('FabFilter Total Bundle Setup (64-bit)')
MouseClick('Primary', 192, 188, 1, 5)
Sleep(300)
MouseClick('Primary', 362, 372, 1, 5)
Sleep(300)

Run(@ScriptDir & 'ffprol128x64.exe')

 

Edited by Jos
put code in codebox
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

  • Recently Browsing   0 members

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