Jump to content
Macro Express Forums

Store web URL in variable and launch it


NeVeR
 Share

Recommended Posts

1. Check that the "Don't Process the Embedded Variable" checkbox is unchecked.

2. Confirm the URL is actually in %T15% by outputting the value somewhere, e.g., Text Box Display or Text Type.

3. Then ensure the URL is correctly formatted: Macro Express does not like spaces before or after the URL when you are using the Web Site command.

Link to comment
Share on other sites

I tested with MacroExpress version 3, using the URL for this forum page, and running the macro successfully brought me right here:

//  
Variable Set String %T1% "https://pgmacros.invisionzone.com/topic/8145-store-web-url-in-variable-and-launch-it/"
Web Site: %T1% [Default Browser]
// 

 

Link to comment
Share on other sites

I've moved away from this idea.

I had 2 more vaiables being set in the URL which where not working

I had 2 prompts at the start to enter start and end dates T1 and T2 then it would go to a spreadsheet and copy the main URL something like

http://mainurl.com/date=%T1%-%T2%

and anytime it pasted this into the browser is would just paste T1 and T2 and not the actual dates.

In the end I just set Excel to change the dates based on a cell value and copied the whole URL into the browser and that worked.

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...