Sign in to follow this  
Followers 0
autoitxp

How to get Url

5 posts in this topic

#1 ·  Posted (edited)

Hi

how to get url from other browsers like Mozilla firefox i know how to get from IE and read them like

$title = WinGetTitle(" Microsoft Internet Explorer" ,"")
$len =  StringTrimRight($title, 30)
MsgBox(0, "Full title read was:", $len)
$oIE = _IEAttach($len)
MsgBox(0, "The URL", _IEPropertyGet ($oIE, "locationurl"))
$sTexts = _IEBodyReadText ($oIE)
MsgBox(0, "", $sTexts)

any better way to get url from other browsers and read that page ?

Edited by autoitxp

Share this post


Link to post
Share on other sites



Hi

how to get url from other browsers like Mozilla firefox i know how to get from IE and read them like

$title = WinGetTitle(" Microsoft Internet Explorer" ,"")
$len =  StringTrimRight($title, 30)
MsgBox(0, "Full title read was:", $len)
$oIE = _IEAttach($len)
MsgBox(0, "The URL", _IEPropertyGet ($oIE, "locationurl"))
$sTexts = _IEBodyReadText ($oIE)
MsgBox(0, "", $sTexts)

any better way to get url from other browsers and read that page ?

I don't know that this can be done with autoit. It uses objects not exposed by firefox . . . yada yada yada

Share this post


Link to post
Share on other sites

Sure this can be done using autoit but just a little differently (Old School Way)...

1. Activate the Firfox window.

2. Send Ctrl + L

3. Copy to clipboard (ClipPut)

Then you can do whatever you want with the URL.

Note: You will need to have the "Navigation Toolbar" viewable.

Share this post


Link to post
Share on other sites

um k, but how would you read the page? ctrl+A Ctrl+C Ctrl+P :)

Share this post


Link to post
Share on other sites

um k, but how would you read the page? ctrl+A Ctrl+C Ctrl+P

Yes...that is correct...you would do it just like that... :)

This is as close you can get click here(DDEML UDF)

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