This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; 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]") |