I was wondering how you can get the process ID from a COM OBject. In AHK I'm making an InternetExplorer.Application that's hidden. Would like to get the process ID of the iexplorer.exe that AHK opens up.
Code: Select all
WB := ComObjCreate("InternetExplorer.Application")
WB.silent := true
ComObjError(false)
url = http://google.com
WB.Navigate(URL)
;===Code to get Process ID
Msgbox, My Process ID
Have a great rest of week,
Chip