Jump to content
Sign in to follow this  
sSoliduSs

Use IE.au3 in invisible mode.

Recommended Posts

sSoliduSs

Hello!

first of all: THANKS, im learning a lot of with autoit while im automating some process. When my codes work im so happy haha

I usually use autoit as a key/mouse event repeater, but now i uncovered ·IE.au3 library and im trying to fill some forms with it, and my question is:

If i use invisible mode, for example:

$oIE = _IECreate("http://sourceforge.net", 0, 0)
 

Can i use my pc normally? I mean, can i play computer games (for example) while my code is running (suppose that my code fills a lot of forms and click submit)?

Thanks you so much for your time :)

PD: Im from Spain, and my english is too bad, sorry.

Share this post


Link to post
Share on other sites
NewPlaza

If you plan on using mouse clicks in IE then no, you cannot play games because Internet Explorer will need focus for mouse clicks, etc... IF however, you use the built-in functions IE.au3 offer then you should have no problems running it in the background(invisible) while you use your computer to play games and such..

Edited by NewPlaza

Share this post


Link to post
Share on other sites
sSoliduSs

IF however, you use the built-in functions IE.au3 

What do you mean with that?

Can i watch videos in youtube while this code (or similar) is running ?

Example:

#include <IE.au3>
$oIE = _IECreate ("http://www.autoitscript.com/forum",0,0)
$oForm = _IEFormGetObjByName ($oIE, 0)
$oQuery1 = _IEFormElementGetObjByName ($oForm, "user")
$oQuery2 = _IEFormElementGetObjByName ($oForm, "passwrd")
_IEFormElementSetValue ($oQuery1, "user")
_IEFormElementSetValue ($oQuery2, "helloworld")
$button = _IEFormElementGetObjByName($oForm,3)
sleep(1000)
_IEAction($button,"click")

Other question: How can i get back IE windows?

Share this post


Link to post
Share on other sites
NewPlaza

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  

×