NeVeR Posted August 10, 2018 Report Share Posted August 10, 2018 I'm trying to store a URL in %T15% for example and use "Web Site: %T15% [Default Browser] to launch that URL. but it's not working. Is this possible ? Quote Link to comment Share on other sites More sharing options...
acantor Posted August 10, 2018 Report Share Posted August 10, 2018 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. Quote Link to comment Share on other sites More sharing options...
rberq Posted August 10, 2018 Report Share Posted August 10, 2018 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] // Quote Link to comment Share on other sites More sharing options...
NeVeR Posted August 15, 2018 Author Report Share Posted August 15, 2018 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.