Here is the AutoIT Script for FTPRush
Quote
; ----------------------------------------------------------------------------
; 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")
; 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



Help

Back to top








