Jump to content

autoit scipt for IsoBuster 1804 Final


Benzal

Recommended Posts

I've made an autoit script.

All works fine but when isobuster opens up I cant get it to close...

Here is my script:

Run ("IsoBuster_1804_(All_languages).exe /VERYSILENT")

WinWaitActive ("Registration will enable IsoBuster PRO functionality")

Send ("Predator@revenge.com_8L6RCO3TBOQR9RETD")

Send ("{TAB}")

Send ("****************************************")

Send ("{TAB}")

Send ("{ENTER}")

WinWaitActive ( "Online Check" )

Send ("{ENTER}")

WinWaitActive ("IsoBuster - Pro - 1.8")

WinClose ("IsoBuster - Pro - 1.8")

Can anyone help????

Edited by Benzal
Link to comment
Share on other sites


Try changing your last line with

For $i = 1 To 5
   WinClose("IsoBuster - Pro - 1.8")
   If Not WinExists("IsoBuster - Pro - 1.8") Then ExitLoop
   Sleep(250)
Next

This will try, up to 5 times to close the window.

I normally notice that during RunOnce, you need to ask the window twice, to close.

Link to comment
Share on other sites

this works perfect:

run("setup.exe")
winwait("Setup - IsoBuster", "Wizard")
controlclick("Setup - IsoBuster", "Wizard", "TButton1")
winwait("Setup - IsoBuster", "Agreement")
controlclick("Setup - IsoBuster", "Agreement", "TRadioButton1")
controlclick("Setup - IsoBuster", "Agreement", "TButton2")
winwait("Setup - IsoBuster", "Information")
controlclick("Setup - IsoBuster", "Information", "TButton2")
winwait("Setup - IsoBuster", "Destination")
controlclick("Setup - IsoBuster", "Destination", "TButton3")
winwait("Setup - IsoBuster", "Start Menu")
controlclick("Setup - IsoBuster", "Start Menu", "TButton4")
winwait("Setup - IsoBuster", "associations")
controlclick("Setup - IsoBuster", "associations", "TButton4")
winwait("Setup - IsoBuster", "Additional")
controlclick("Setup - IsoBuster", "Additional", "TButton4")
winwait("Setup - IsoBuster", "Ready")
controlclick("Setup - IsoBuster", "Ready", "TButton4")
winwait("Setup - IsoBuster", "Completing")
controlclick("Setup - IsoBuster", "Completing", "TButton4")
winwait("Registration will enable IsoBuster PRO functionality", "Register", 2)
if winexists("Registration will enable IsoBuster PRO functionality", "Register") then
controlsend("Registration will enable IsoBuster PRO functionality", "Register", "TEdit2", "user@host.com_LI3R354*****3R0E3")
sleep(1000)
controlsend("Registration will enable IsoBuster PRO functionality", "Register", "TEdit1", "FD3F85F3-FEA50855-********-93BE0E7C-EE3826B8-F6BA4E1C")
sleep(1000)
controlclick("Registration will enable IsoBuster PRO functionality", "Register", "TButton5")
sleep(1500)
ProcessClose("IsoBuster.exe")
exit
endif
winwait("Online Check", "online", 2)
if winexists("Online Check", "online") then
ProcessClose("IsoBuster.exe")
exit
endif
winwait("Registration will enable IsoBuster PRO functionality", "Register", 2)
if winexists("Registration will enable IsoBuster PRO functionality", "Register") then
controlsend("Registration will enable IsoBuster PRO functionality", "Register", "TEdit2", "user@host.com_LI3R354*****3R0E3")
sleep(1000)
controlsend("Registration will enable IsoBuster PRO functionality", "Register", "TEdit1", "FD3F85F3-FEA50855-********-93BE0E7C-EE3826B8-F6BA4E1C")
sleep(1000)
controlclick("Registration will enable IsoBuster PRO functionality", "Register", "TButton5")
sleep(1500)
ProcessClose("IsoBuster.exe")
exit
endif
winwait("Online Check", "online", 2)
if winexists("Online Check", "online") then
ProcessClose("IsoBuster.exe")
exit
endif
winwait("Registration will enable IsoBuster PRO functionality", "Register", 2)
if winexists("Registration will enable IsoBuster PRO functionality", "Register") then
controlsend("Registration will enable IsoBuster PRO functionality", "Register", "TEdit2", "user@host.com_LI3R354*****3R0E3")
sleep(1000)
controlsend("Registration will enable IsoBuster PRO functionality", "Register", "TEdit1", "FD3F85F3-FEA50855-********-93BE0E7C-EE3826B8-F6BA4E1C")
sleep(1000)
controlclick("Registration will enable IsoBuster PRO functionality", "Register", "TButton5")
sleep(1500)
ProcessClose("IsoBuster.exe")
exit
endif
winwait("Online Check", "online", 2)
if winexists("Online Check", "online") then
ProcessClose("IsoBuster.exe")
exit
endif
winwait("Registration will enable IsoBuster PRO functionality", "Register", 2)
if winexists("Registration will enable IsoBuster PRO functionality", "Register") then
controlsend("Registration will enable IsoBuster PRO functionality", "Register", "TEdit2", "user@host.com_LI3R354*****3R0E3")
sleep(1000)
controlsend("Registration will enable IsoBuster PRO functionality", "Register", "TEdit1", "FD3F85F3-FEA50855-********-93BE0E7C-EE3826B8-F6BA4E1C")
sleep(1000)
controlclick("Registration will enable IsoBuster PRO functionality", "Register", "TButton5")
sleep(1500)
ProcessClose("IsoBuster.exe")
exit
endif
winwait("Online Check", "online", 2)
if winexists("Online Check", "online") then
ProcessClose("IsoBuster.exe")
exit
endif
exit

it includes all cases, wich windows could popup....

oooops, i put the serial on here too :whistle: edited...

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

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