Jump to content
Macro Express Forums

Get Web Page URL


asa32sd23
 Share

Recommended Posts

You can use Macro Express to read the URL from the address field in the browser. Something like this should work:

Text Type: <ALTD>d<ALTU>  // move to the address field in the browser
Delay 0.1 Seconds  // wait a moment to let the browser catch up
Text Type: <CTRLD>c<CTRLU>  // copy URL to the clipboard

Link to comment
Share on other sites

Text Type: <ALTD>d<ALTU>  // move to the address field in the browser
Delay 0.1 Seconds  // wait a moment to let the browser catch up
Text Type: <CTRLD>c<CTRLU>  // copy URL to the clipboard

 

Hi Kevin,

 

I use <ALTD> and <ALTU> only when <ALT> does not work, which it almost always does. And when I am forced to use the up and down versions, the key sometimes get stuck in the down position.

 

Are there guidelines on when to use plain modifiers, and when to use the up and down versions? In other words, are there advantages (and drawbacks) of <ALTD>, <ALTU>, <CTRLD>, and <CTRLU> compared to <ALT> and <CONTROL>?

Link to comment
Share on other sites

Depending upon your browser, you can also try:

1)Text Type: <CTRLD>F6<CTRLU> // move to the address field in the browser

2)Delay 0.1 Seconds // wait a moment to let the browser catch up

3)Text Type: <CTRLD>c<CTRLU> // copy URL to the clipboard

4)Delay 0.1 Seconds // wait a moment

5)Text Type: (F6) // to unhighlight the URL...

6)Delay 0.1 Seconds // wait a moment

7)Variable Set String %T1% from Clipboard //Save To String Variable

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...