Jump to content

Use IE.au3 in invisible mode.


Recommended Posts

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.

Link to comment
Share on other sites

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
Link to comment
Share on other sites

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?

Link to comment
Share on other sites

 

What do you mean with that?

examples are..

_IE_Example
_IE_Introduction
_IE_VersionInfo
_IEAction
_IEAttach
_IEBodyReadHTML
_IEBodyReadText
_IEBodyWriteHTML
_IECreate
_IECreateEmbedded
_IEDocGetObj
_IEDocInsertHTML
_IEDocInsertText
_IEDocReadHTML
_IEDocWriteHTML
_IEErrorHandlerDeRegister
_IEErrorHandlerRegister
_IEErrorNotify
_IEFormElementCheckboxSelect
_IEFormElementGetCollection
_IEFormElementGetObjByName
_IEFormElementGetValue
_IEFormElementOptionSelect
_IEFormElementRadioSelect
_IEFormElementSetValue
_IEFormGetCollection
_IEFormGetObjByName
_IEFormImageClick
_IEFormReset
_IEFormSubmit
_IEFrameGetCollection
_IEFrameGetObjByName
_IEGetObjById
_IEGetObjByName
_IEHeadInsertEventScript
_IEImgClick
_IEImgGetCollection
_IEIsFrameSet
_IELinkClickByIndex
_IELinkClickByText
_IELinkGetCollection
_IELoadWait
_IELoadWaitTimeout
_IENavigate
_IEPropertyGet
_IEPropertySet
_IEQuit
_IETableGetCollection
_IETableWriteToArray
_IETagNameAllGetCollection
_IETagNameGetCollection
Edited by NewPlaza
Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...