How to capture URL

Technical support and scripting issues

Moderators: JRL, Dorian (MJT support)

Post Reply
newguest

How to capture URL

Post by newguest » Sat Sep 18, 2004 11:41 am

How to capture URL and save into variable

thanks

Lumumba

Post by Lumumba » Sat Sep 18, 2004 12:24 pm

From where ?
IE's address field?
//Select URL from IE's address field
Press ALT
Send>d
Release ALT

//Copy URL to clipboard
Press CTRL
Send>c
Release CTRL

//Get URL from clipboard to declare it as a variable
GetClipboard>MyVarName

pcasfer
Newbie
Posts: 1
Joined: Sun Sep 27, 2009 10:53 pm

Post by pcasfer » Sun Sep 27, 2009 10:59 pm

And what about copying the url that any link under the mouse is pointing at??

(similar to the context menu "copy url address" right clicking the mouse)

My intention is to generate a IE.create call whith the WebRecorder library, in order to get signal on "page completly downloaded" rather than blind delays of waiting or pixel comparision.

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts