Quantcast
Channel: AutoIt v3 - General Help and Support
Viewing all articles
Browse latest Browse all 12506

How to tell if oIE is running so I can navigate if running or create if not running.

$
0
0
I am well familiar with determing what window oIE is running.. but how to tell if its up and running..PERIOD.. so if its running.. I can navigate and if not I can create...
$title = "Boom"
Local $oIE = _IEAttach($title)
if WinExists ($title) Then
MsgBox(0, "The URL", _IEPropertyGet($oIE, "locationurl"))

I have tried such dumb stuff as:

If $oIE then navigate....
If NOT $oIE then create IE and then navigate.

if WinExists("") then etc

In other words the title may be anything or nothing..

What can i ask the oIE for like a property that will tell me its running without causing it to abort and quit... The code above shows I know how to tell if its runnig when I know the title..

Thanks

Viewing all articles
Browse latest Browse all 12506

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>