Jump to content

Recommended Posts

Posted

so why, what i write this:

#include <IE.au3>
$website = _IECreate ("[url="http://192.168.1.1/"]http://192.168.1.1/[/url]")
_IELoadWait($website)
MsgBox(0, "Page Loaded", "Page Loaded")

its open two pages of internet explorer, and dont do nothing..?

Posted (edited)

ok forget about that codes that didn't work but for me your code just opens 1 browser

Edited by Verox743

Started with AutoIt on 12th June, 2008.

Posted

ok i have other quetion:

how open internet explorer in hiden mode?

Look up the syntax for _IECreate() it has a visible option.

Broken link? PM me and I'll send you the file!

Posted

#include <IE.au3>

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

Posted (edited)

Posted Image

???

oh and this is the code:

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

It wasn't actual code. It was syntax of the function.

Try this:

$Website = "AutoItScript.com/forum"
_IECreate($Website, 0, 0)

It will create a hidden IE window

Edited by JasonB
Posted

Don't forget your quotes around the string:

$Website = "AutoItScript.com/forum"
_IECreate($Website, 0, 0)
Ugh, yeah, umm, I forgot too, because I wrote the $Website right on the spot!
Posted

so why, what i write this:

#include <IE.au3>
$website = _IECreate ("[url="http://192.168.1.1/"]http://192.168.1.1/[/url]")
_IELoadWait($website)
MsgBox(0, "Page Loaded", "Page Loaded")

its open two pages of internet explorer, and dont do nothing..?

I have noticed this happening when I use a script that works just fine on XP/IE7 and try to use it on Vista/IE7.. must be a Vista thing. Any suggestions on how to get this to work?
Posted (edited)

this:

#include <IE.au3>

$website = "http://192.168.1.1/"

_IECreate($website, 0, 0)

open me two windows of IE... i think its because i using vista.. :S

I set it to 0, it will make ONE IE window, hidden.

Edited by JasonB
Posted

yes its open one page.. ty..

but, why when i using this:

#include <IE.au3>
$website = "http://192.168.1.1/"
_IECreate($website, 0, 0)
_IELoadWait($website)
MsgBox(0, "Page Loaded", "Page Loaded")

its not send the msg box?

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
×
×
  • Create New...