Sign in to follow this  
Followers 0
PisqoLoq

IE AdressBar Adress Copy ?

2 posts in this topic

Hi,

MyCodes :

Opt("WinTitleMatchMode", 2)
WinActivate("Google - Windows Internet Explorer")

$a = ControlGetText("Google - Windows Internet Explorer", "", 41477 )

MsgBox(64,"",$a)

( 41477 = ControlID , Adressbox )

But its not work . Why ?

How can I get the text from the adress bar in an internet explorer window?

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

hehe I worked . :graduated:

#include <IE.au3>

$oIE = _IECreate('http://localhost',0,1)

$a = _IEPropertyGet ($oIE, "locationurl")

MsgBox(0,"",$a)

Edited by PisqoLoq

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  
Followers 0