Jump to content

Recommended Posts


Posted

look at some of the install scripts on the forum thats how i got going

run("C:\Program Files\Internet Explorer\IEXPLORE.EXE") 
   ;The Program To run from the autoit script
   ;the example being internet explorer
   ;you can change this to ur program installer
;----------------------------------------------------------------------------
Winwaitactive("Welcome to MSN.co.uk - Microsoft Internet Explorer")
   ;Waits till the windows active before proceeding to next step
   ;the way to find if widow is active is by the title bar on the page
;----------------------------------------------------------------------------
Controlclick("Welcome to MSN.co.uk - Microsoft Internet Explorer", "" , "Edit1")
 ;Clicks a control on the active widow
 ;control being a textbox, command button, and other controls
 ;This clicks the adressbar on the control pannel
 ;if i wanted to make it click the home button i would change it to
 ;Controlclick("Welcome to MSN.co.uk - Microsoft Internet  Explorer", "" ,

"ToolbarWindow324")
 ;then that would click the home button on the iexplorer toolbar
;------------------------------------------------------------------------------
Send("http://www.msfn.org/board{Enter}")
 ;send sends keys to the inputbox
 ;this will input things into an input box I.e for serial number etc:
 ;in this example i'm using Iexplorer adresss bar
 ;and the presses enter
;-------------------------------------------------------------------------------
;Run("Programname")

;WinWaitActive ( "title", ["text"], [timeout]              
;text optional, timeout optional. Taken for help file  

;controlclick("Title" , "Text" , "control")
;u can use the autoit window spy that comeswith autoit to find the control

;Send("TEXTTOSEND")
;send("{keytosend}")
;Send("TextToSend{KeyToPress]")
;Refer to help file for keys

;Sleep(Time)
;function to pause the script for x Amount of time
;250 = quarter of a second
;500 = half of a second
;1000 = second
;and so on

thats basicly all there is to cover an autoit install

any can add anything shout me

Posted

my issue is i'm not sure what to do once i have the scipt, i admitedly dont know how to make t he scripts myself but have been able to assemble all the scripts i need between the ones made availible on this forum and ones i have used a script generator for.

Posted

When you got your Autoit script, you launch Aut2Exe to convert your *.au3 file into an executable (.exe). Then, you do the usual : start %wait .... \convertedau3file.exe

(no switch)

That's all. ;)

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