Jump to content
Sign in to follow this  

How to find URL of webpage you are on? Address Bar

Recommended Posts


Just wondering how to return the URL of the webpage you are visiting.

Ive been looking through the _IE functions but I havent found it yet.

It has to be in there somewhere right? I came close with _IEPropertyGet(), but I guess it cant return the URL?

I also noticed that the URL is the only thing that shows up in Visible Text in the Window Info Tool. I dont know how to return the Visible Text so I guess knowing how to do that would work too, if anyone knows.

Edit: Eh I found it.

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

guess I just missed it the first time lol

Edited by murdock

Share this post

Link to post
Share on other sites

i think that tool is open source so you could read through the source. Or you can use the Finder tool and notice that its an edit control and use some command that escapes my mind atm but if i find it il post back.

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  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.