Jump to content
Sign in to follow this  
oMBRa

find out the current url from a browser

Recommended Posts

ksmith247

_IEPropertyGet "locationurl"


Support bacteria; it's the only culture most people have.LxP's Learning to Script with AutoIt 3 - Excellent starting placeVolly's Links Page - Links to cool and useful scriptsAutoIt Wrappers - Valuater's AutoIt Wrappers post. Lots of good stuff.Support AutoIt - Make a donation here; I did.[size="2"]#include <Guinness.pint>[/size]

Share this post


Link to post
Share on other sites
torels

think you just need to get the control name...

or find the text in the window if it has a url in it :)

regards


Some Projects:[list][*]ZIP UDF using no external files[*]iPod Music Transfer [*]iTunes UDF - fully integrate iTunes with au3[*]iTunes info (taskbar player hover)[*]Instant Run - run scripts without saving them before :)[*]Get Tube - YouTube Downloader[*]Lyric Finder 2 - Find Lyrics to any of your song[*]DeskBox - A Desktop Extension Tool[/list]indifference will ruin the world, but in the end... WHO CARES :P---------------http://torels.altervista.org

Share this post


Link to post
Share on other sites
oMBRa

I tried WinGetText, ControlGetText... but they return error

Share this post


Link to post
Share on other sites
torels

I meant getting the control name for each browser you are interested in and get the text

the control you need is the inner one 'cause usually browsers overlap combos and textboxes

hope it works :)

regards


Some Projects:[list][*]ZIP UDF using no external files[*]iPod Music Transfer [*]iTunes UDF - fully integrate iTunes with au3[*]iTunes info (taskbar player hover)[*]Instant Run - run scripts without saving them before :)[*]Get Tube - YouTube Downloader[*]Lyric Finder 2 - Find Lyrics to any of your song[*]DeskBox - A Desktop Extension Tool[/list]indifference will ruin the world, but in the end... WHO CARES :P---------------http://torels.altervista.org

Share this post


Link to post
Share on other sites
ksmith247

Check this post


Support bacteria; it's the only culture most people have.LxP's Learning to Script with AutoIt 3 - Excellent starting placeVolly's Links Page - Links to cool and useful scriptsAutoIt Wrappers - Valuater's AutoIt Wrappers post. Lots of good stuff.Support AutoIt - Make a donation here; I did.[size="2"]#include <Guinness.pint>[/size]

Share this post


Link to post
Share on other sites
oMBRa

I didnt find nothing, becouse I have not much time... Can u give me direct link?

Share this post


Link to post
Share on other sites
bstjohn

it dosnt work also for firefox and other browser

You could try something like this:

Send("^l"); In FF puts focus on url field.
Send("^c"); Copy the contents of the field to clipboard.
$url=ClipGet(); Read the text from clipboard.

-Barry.

Share this post


Link to post
Share on other sites
Stilgar
AutoFan

With the FF.au3 in FireFox:

$url = _FFSetGet($Socket,".location.href")

 

How to do with the new version of FF.au3 ?

Share this post


Link to post
Share on other sites
ravigandhamz
On 9/11/2008 at 11:17 PM, oMBRa said:

I tried WinGetText, ControlGetText... but they return error

I am having the same issue, in firefox --> combobox-->edit-search or enter address. Can any one help with this>

Share this post


Link to post
Share on other sites
Danp2
1 minute ago, ravigandhamz said:

I am having the same issue, in firefox --> combobox-->edit-search or enter address. Can any one help with this>

Please don't necro-post. You should start a new thread instead and you can link back to this thread if desired.

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.