Thanks for your help, I added some code and can't continue to run, I have tried the function acc and send the key
Macro Macro6
Macro Macro6
str dd=
;BEGIN DIALOG
;0 "" 0x90C80AC8 0x0 0 0 400 222 "Dialog"
;3 ActiveX 0x54030000 0x0 0 0 400 222 "SHDocVw.WebBrowser {8856F961-340A-11D0-A96B-00C04FD705A2}"
;END DIALOG
;DIALOG EDITOR: "" 0x2040800 "*" "" "" ""
str controls = "3"
str ax3SHD
if(!ShowDialog(dd &sub.DlgProc &controls)) ret
#sub DlgProc
function# hDlg message wParam lParam
sel message
,case WM_INITDIALOG
,mac "sub.WaitForLoaded" "" hDlg
,mac "sub.con1"
,case WM_DESTROY
,case WM_COMMAND goto messages2
ret
;messages2
sel wParam
,case IDOK
,case IDCANCEL
ret 1
#sub WaitForLoaded
function hDlg
SHDocVw.WebBrowser we3
we3._getcontrol(id(3 hDlg))
we3.Navigate("http://www.quickmacros.com/download.html")
opt waitmsg 1
rep() 0.01; if(!we3.Busy) break
int w=wait(30 WV win("Dialog" "#32770"))
Acc a.Find(w "LINK" "Download" "value=http://www.quickmacros.com/quickmac.exe" 0x2005 3)
a.DoDefaultAction
#sub con1
int w3=wait(30 WA win(" - " "#32770"))
key As
key As
int w4=win("" "#32770")
clo w4
int w2=win("Dialog" "#32770")
clo w2