Jump to content
Sign in to follow this  
MAS

how to run _IE in silent mode

Recommended Posts

MAS

hello all

I want to open a webpage but in silent mode that dont show any messages coming from webpages

I've used _IEPropertySet function to make it silent but message boxes still popup

maybe I wrote the function in wrong way

here's my simple code :::

#include <IE.au3>
 
$oIE = _IECreate ("http://www.autoitscript.com")
_IEPropertySet ($oIE, "silent", True)

thanks for any help :D

Edited by MAS

Share this post


Link to post
Share on other sites
Zedna

_IECreate ( [$s_Url = "about:blank" [, $f_tryAttach = 0 [, $f_visible = 1 [, $f_wait = 1 [, $f_takeFocus = 1]]]]] )

set $f_visible = 0

$oIE = _IECreate ("http://www.autoitscript.com", 0, 0)

Share this post


Link to post
Share on other sites
MAS

thanks for reply Zedna

but $f_visible = 0 make IE invisible

i want to disable msg boxes displayed in webpages

Share this post


Link to post
Share on other sites
Blue_Drache

You can't honestly trap for that. There's far too many methods of popping up a dialogue box.... and far too many answers. It's not a simple ... testable binary answer.


Lofting the cyberwinds on teknoleather wings, I am...The Blue Drache

Share this post


Link to post
Share on other sites
MAS

ok thx Blue_Drache & Zedna

i will try that

Edited by MAS

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  

×