I can't find the references for MS Office programs, but not for IE. Can somebody point me in the right direction?
I'm looking for the equivalent of the link below, but for IE.
https://docs.microsoft.com/en-us/office ... ixedformat
Thanks Much.
COM Methods reference for IE
Re: COM Methods reference for IE
Closer. I'm trying to find the command to print the active IE page to a PDF file. I don't see that type of command listed......
Re: COM Methods reference for IE
Printing is controlled by the OS / System not the browser.
You could easily send Ctrl+P and then use winwait, controlsettext, controlclick etc.
HTH
You could easily send Ctrl+P and then use winwait, controlsettext, controlclick etc.
HTH
Re: COM Methods reference for IE
Maybe trying the ExecWB method (from the link provided by TheDewd):
Code: Select all
#NoEnv
#SingleInstance force
#Warn
OLECMDID_PRINT := 6 ; https://autohotkey.com/board/topic/109628-loop-action-on-files-in-folder-syntax-help/
OLECMDEXECOPT_DODEFAULT := 0 ; https://autohotkey.com/board/topic/47052-basic-webpage-controls-with-javascript-com-tutorial/page-12
OLECMDEXECOPT_PROMPTUSER := 1
OLECMDEXECOPT_DONTPROMPTUSER := 2
GUI, Add, ActiveX, vWB w400 h400, Shell.Explorer
WB.navigate("https://duckduckgo.com/")
while (WB.busy || WB.readyState <> 4)
sleep 100
GUI, Show, AutoSize
return
!i::WB.ExecWB(OLECMDID_PRINT, OLECMDEXECOPT_PROMPTUSER)
Re: COM Methods reference for IE
OK. Thanks for the help. I'm going to 'old school' this by just writing the script to click on the buttons in the right order.