oMBRa Posted September 11, 2008 Posted September 11, 2008 How to find out the current url from a broswer?
ksmith247 Posted September 11, 2008 Posted September 11, 2008 _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]
oMBRa Posted September 11, 2008 Author Posted September 11, 2008 it dosnt work also for firefox and other browser
torels Posted September 11, 2008 Posted September 11, 2008 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
oMBRa Posted September 11, 2008 Author Posted September 11, 2008 I tried WinGetText, ControlGetText... but they return error
torels Posted September 11, 2008 Posted September 11, 2008 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
ksmith247 Posted September 11, 2008 Posted September 11, 2008 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]
oMBRa Posted September 13, 2008 Author Posted September 13, 2008 I didnt find nothing, becouse I have not much time... Can u give me direct link?
bstjohn Posted September 15, 2008 Posted September 15, 2008 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.
Stilgar Posted September 15, 2008 Posted September 15, 2008 With the FF.au3 in FireFox: $url = _FFSetGet($Socket,".location.href") jEdit4AutoIt PlanMaker_UDF
Stilgar Posted September 16, 2008 Posted September 16, 2008 From this site:http://thorsten-willert.de/but it works only with the FF-AddOn MozLab:http://hyperstruct.net/projects/mozlab jEdit4AutoIt PlanMaker_UDF
AutoFan Posted September 24, 2014 Posted September 24, 2014 With the FF.au3 in FireFox: $url = _FFSetGet($Socket,".location.href") How to do with the new version of FF.au3 ?
Danp2 Posted September 24, 2014 Posted September 24, 2014 1) Please don't necro-post. Next time start a new thread and you can post a link back to this one if you so desire. 2) Try _FFCmd(".location.href") Latest Webdriver UDF Release Webdriver Wiki FAQs
junkew Posted September 24, 2014 Posted September 24, 2014 for all browsers you can do this with the IUIautomation thread in examples section. Simplespy will give you the basic source per browser. FAQ 31 How to click some elements, FAQ 40 Test automation with AutoIt, Multithreading CLR .NET Powershell CMDLets
ravigandhamz Posted February 17, 2018 Posted February 17, 2018 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>
Danp2 Posted February 17, 2018 Posted February 17, 2018 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. Latest Webdriver UDF Release Webdriver Wiki FAQs
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now