Page 1 of 1

[ ComObj IE ] Open Right-Click Menu on IE using COM

Posted: 01 Dec 2017, 12:57
by CH HAN
Hi,

I tried to open right-click menu on IE using COM, but all approaches I tried has failed. Does anybody know any ways to open the right-click menu and select one of elements?

Code: Select all


wb := IEGet("My Drive - Google Drive - Internet Explorer")

; everything is not working
/*
wb.document.getElementsByTagName("SPAN")[84].focus()
Send, {AppsKey}            
Send, {Down}
Send, {Down}
Send, {Enter}
*/

;~ wb.document.getElementsByTagName("SPAN")[84].click(Right)
;~ wb.document.getElementsByTagName("SPAN")[84].rightclick()

MsgBox


R_google_drive.jpg
R_google_drive.jpg (78.09 KiB) Viewed 440 times