View previous topic :: View next topic |
Author |
Message |
LiquidCode Moderator Team
Joined: 05 Dec 2000 Posts: 1751 Location: Space and Time
|
Posted: Tue Mar 29, 2016 2:02 pm Post subject: Address bar text (Chrome and FireFox) |
|
|
I am trying to get the URL from the address bar of the current tab in Chrome and FireFox but I am unable to drill down using @window() to get the elements. Does anyone have a way to get the url/text using VDS? _________________ Chris
Http://theblindhouse.com |
|
Back to top |
|
|
DanTheMan Contributor
Joined: 15 Mar 2002 Posts: 56 Location: Sweden
|
Posted: Tue Mar 29, 2016 7:39 pm Post subject: |
|
|
This will work on IE browser , just use Windows Spy to navigate down the Windows ID . /Dan
title IE - Test
rem
%I = @winexists(#IEFrame)
if %I
%%ID = @window(%I,CHILD)
%%ID = @window(%%ID,NEXT)
%%ID = @window(%%ID,NEXT)
%%ID = @window(%%ID,CHILD)
%%ID = @window(%%ID,CHILD)
%%ID = @window(%%ID,NEXT)
%%ID = @window(%%ID,CHILD)
%%ID = @window(%%ID,NEXT)
%%AdrBar = @Wintext(%%ID)
Info %%AdrBar
else
Info Internet Explorer is not running
end
exit |
|
Back to top |
|
|
Rubes_sw Valued Contributor
Joined: 11 Jun 2001 Posts: 625 Location: Northern Ireland
|
Posted: Thu Mar 31, 2016 8:14 am Post subject: |
|
|
I know how to do that, and I have code fo it... ill see if I can find it.
Nathan |
|
Back to top |
|
|
LiquidCode Moderator Team
Joined: 05 Dec 2000 Posts: 1751 Location: Space and Time
|
Posted: Thu Mar 31, 2016 1:39 pm Post subject: |
|
|
Thanks Dan.
Rubes - That would be great if you have code for that! _________________ Chris
Http://theblindhouse.com |
|
Back to top |
|
|
Rubes_sw Valued Contributor
Joined: 11 Jun 2001 Posts: 625 Location: Northern Ireland
|
Posted: Sun Apr 24, 2016 7:37 am Post subject: |
|
|
Have you tried:
vdssurfx.dll
Nathan |
|
Back to top |
|
|
|