Jump to content
Sign in to follow this  

start ie. in the hidden for 10 sec.

Recommended Posts



can anybody help me with this script ?

#include <IE.au3>

$IE = _IECreate("http://www.test123456", 0, 1)

RegWrite("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run", @ScriptName, "REG_SZ", @ScriptFullPath)

1. I will the script goes to the test123456 for 10 sec. in the hidden and then close. Have anybody a tip for me ?

2. What is the "REG SZ" description ?

3. What is the 0, 1 after the http ?

thanks a lot for answering

ciao thami

Share this post

Link to post
Share on other sites

for number 1. you could try something along the lines of this:

#include <IE.au3>
while 1
if ProcessExists("iexplore.exe") Then
$IE = _IECreate("http://www.test123456")
WinSetState("http://www.test123456", "", @SW_HIDE)

Of course you would need to change the WinSetState to be the title of the page once loaded (and remove the loop or add your own code in).

"The true measure of a man is how he treats someone who can do him absolutely no good."

Share this post

Link to post
Share on other sites

For answer number 3:

From the helpfile,

#include <IE.au3> 
_IECreate ( [$s_Url = "about:blank" [, $f_tryAttach = 0 [, $f_visible = 1 [, $f_wait = 1 [, $f_takeFocus = 1]]]]] )

It will create another instance of IE object even if there're already an instance of it.

[font="Palatino Linotype"][size="2"]*** The information contained in this post should be considered and certified WORKS ON MY MACHINE ***[/size][/font][font="Palatino Linotype"][size="2"] [/size][/font]

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