Jump to content

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


murdock
 Share

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
Link to comment
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.

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...