home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 2001 April
/
PCWorld_2001-04_cd.bin
/
Software
/
Vyzkuste
/
autoit
/
AutoIt.exe
/
AutoIt.msi
/
Cabs.w1.cab
/
DialUpNetworking.aut
< prev
next >
Wrap
Text File
|
1999-09-14
|
870b
|
36 lines
; Example Script
; ==============
;
; OS: Windows 9x/NT
; Author: Jonathan Bennett (jbennett@hidden.demon.co.uk)
;
; This script runs a connection to the Internet
; You will need to change things like the name of your connection
; and usernames and passwords
MsgBox, 4, AutoIt Example, Please examine and edit this file with the name of your Internet connection before use. Run now?
IfMsgBox, NO, Goto, denied
; Execute the "Demon Internet" connection
Run, rundll rnaui.dll\,RnaDial Demon Internet
; Wait for the connect window to be active
WinWaitActive, Connect To, Demon Internet
; Type in our username and password
Send, !u
Send, USERNAME
Send, !p
Send, PASSWORD
; Connect
Send, {ENTER}
; Wait for the connection window to open then close
WinWaitActive, Connecting to
WinWaitClose, Connecting to
; Finished
denied:
Exit