Jump to content
Sign in to follow this  
Rorax

_IECreate question

Recommended Posts

Rorax

Hello,

I got a question about _IECreate, or more specifically $f_visible.

#include <IE.au3>
$Run = 1
While $Run = 1
$oIE = _IECreate ("<insert URL>", 0, 0, 1, 0)
$url = _IEPropertyGet($oIE, "locationurl")
If $url = "http://<Insert another URL>" Then
$Run = 1
_IEQuit ($oIE)
Else
$Run = 0
EndIf
WEnd
msgbox(4096, "Test", "Test complete!")
Exit

Basically my question is how do I turn a IE window that I've set to invisible (using $f_visible) back to visible? I want to loop this script until the URL isnt loaded into a specific page. Tried searching but I didnt find the answer.

Thanks in advance,

- R

Share this post


Link to post
Share on other sites
wakillon

Hello,

I got a question about _IECreate, or more specifically $f_visible.

Basically my question is how do I turn a IE window that I've set to invisible (using $f_visible) back to visible? I want to loop this script until the URL isnt loaded into a specific page. Tried searching but I didnt find the answer.

Thanks in advance,

Try _IEAction ( $oIE, "visible" )

Edited by wakillon

AutoIt 3.3.14.2 X86 - SciTE 3.6.0WIN 8.1 X64 - Other Example Scripts

Share this post


Link to post
Share on other sites
GoogleDude

Thanks for the help, I'll try that out

I had the same basic question. And when searching I came across this thread which answered my question. Thanks. Saved another dumb question post where searching would have yielded my answer.

~GD

Share this post


Link to post
Share on other sites
Juvigy

.visible is a property of the IE object.

You can do:

$oIE.visible=0 - make invisible

$oIE.visible=1 - make visible

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.