Jump to content

Mozilla ActiveX Control ==> Get Url ?


Recommended Posts

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 !!!

Link to comment
Share on other sites

  • 2 weeks later...

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
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...