beginer with com objects

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
Terka
Posts: 157
Joined: 05 Nov 2015, 04:59

beginer with com objects

25 Nov 2016, 05:02

hi,
im able to open page and fill some data there like:

Code: Select all

wb := ComObjCreate("InternetExplorer.Application")     
wb.Visible := True                                     
wb.Navigate(page)                                      
while wb.busy                                          
sleep 10                                               
wb.document.getElementById("user").focus()
Sendinput %user%
but would like to see a list of commands that i can do with the object
eg. maximize the explorer etc.
is it posible to operate with the wb in background, while working?
User avatar
TLM
Posts: 1608
Joined: 01 Oct 2013, 07:52
Contact:

Re: beginer with com objects

25 Nov 2016, 05:57

try changing

Code: Select all

wb.document.getElementById("user").focus()
Sendinput %user%
to wb.document.getElementById("user").innerText := user
or if it's a form input wb.document.getElementById("user").value := user
Fee
Posts: 57
Joined: 05 Aug 2016, 14:30

Re: beginer with com objects

25 Nov 2016, 07:09

Terka wrote:would like to see a list of commands that i can do with the object
MSDN: InternetExplorer object
https://msdn.microsoft.com/en-us/library/aa752084
HTML Dom:
http://www.w3schools.com/jsref/dom_obj_document.asp
JavaScript:
https://developer.mozilla.org/en-US/doc ... ipt_basics
Terka wrote:is it posible to operate with the wb in background
Yes. wb.Visible := False

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: jameswrightesq, wpulford and 409 guests