Jump to content

Recommended Posts

Posted

Hi!

I'd like to know if there is a function with Mozilla activeX control to get the url of the displayed page...

Like this :

Posted Image

But with something using a function (like $url = $firefox.GetUrl() )(I've already tested, it doesn't work :) )

Thank you very much!!!!

Posted

Hey!

Thank you BrettF !

But I don't think this script will help me much because it opens a new Firefox window... And in my script, the firefox control is "integrated" in my main script window :)

(sorry for my english :) )

I have an other problem :

locationUrl doesn't works...

When I go on http://www.ogame.fr, and I connect, the real url is :

Posted ImagePosted Image

But locationUrl only returns : http://www.ogame.fr/

In the "real" Firefox window (not the one of the script), we also just see "http://www.ogame.fr/"...

I'd like to get the entire url...

Can you help me? thanks !!!

  • 2 weeks later...
Posted (edited)

Nobody knows? :)

Hi,

Check hotkeys for Firefox (for example new tab=ctrl+T)

so url=Ctrl+...

And copy url like this

WinActivate([Class:MozillaWindowClass],"")
WinWaitActive([Class:MozillaWindowClass],"",4)
Send("^...");Hotkey url control
Send("^A");Highlight url for copy
Send("^C");Copy url

Msgbox(64,"Url firefox","Firefox url : "&ClipGet())
Edited by FireFox

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
  • Recently Browsing   0 members

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