thami Posted September 24, 2009 Posted September 24, 2009 Hi, 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
sias Posted September 24, 2009 Posted September 24, 2009 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) sleep(10000) _IEQuit($IE) EndIf WEnd 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."
nfaustin Posted September 25, 2009 Posted September 25, 2009 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]
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now