Jump to content

FTPRush AutoIT Script problems


fourte3n

Recommended Posts

EDIT: gon freecs has saved my day!

Here is the AutoIT Script for FTPRush

; ----------------------------------------------------------------------------

; Set up our defaults/Variables

; ----------------------------------------------------------------------------

AutoItSetOption ( "WinTitleMatchMode", 1 )

$NAME= "**DELETED**"

$KEY= "**DELETED**"

; ----------------------------------------------------------------------------

; Script Start

; ----------------------------------------------------------------------------

Run  ( "FTPRush.exe /S")

ProcessWaitClose ( "FTPRush.exe")

; Runs the installer silently and waits for its end

FileDelete(@DesktopDir & "\FTPRush.lnk")

;Removes the desktop shortcut

Run(@ProgramFilesDir & "\FTPRush\FtpRush.exe")

;A silent install doesn't start ftprush, so it must be done "manually"

WinWaitActive ( "About FTPRush" )

Send  ( "{ENTER}" )

WinWaitActive ( "Confirm" )

Send  ( "!Y" )

WinWaitActive ( "Enter Key" )

; by default the "name" cell is activated, so just send your name

Send($NAME)

; goes to the "key" cell by pressing tab

Send("{TAB}")

; sends your key

Send($KEY)

; goes to the "ok" button and validate

Send("{TAB 2}{ENTER}")

; Closes ftprush

ProcessClose("FtpRush.exe")

Thanks again gon freecs :thumbup

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