Skip to content

Instantly share code, notes, and snippets.

View srinivasa-pulagam's full-sized avatar

srinivasa-pulagam

View GitHub Profile
@srinivasa-pulagam
srinivasa-pulagam / IE9Filedownload.au3
Created June 29, 2012 06:51
AutoIt script to automate IE9 file download
; sleep statements are added only to illustrate the focus on buttons
;read arguments
Local $pathToSave=$CmdLine[1]
; get the handle of main window
Local $windHandle=WinGetHandle("[Class:IEFrame]", "")
Local $winTitle = "[HANDLE:" & $windHandle & "]";
;get coordinates of default HWND
Local $ctlText=ControlGetPos ($winTitle, "", "[Class:DirectUIHWND;INSTANCE:1]")