Jump to content
Macro Express Forums

Run Macro in Variable - puzzle


terrypin

Recommended Posts

This stems from the thread 'Assigning New Variables on Each Loop'. Steve's post there prompted me to try a command I haven't used before: Run Macro in Variable. But I consistently get behaviour I don't understand, namely the insertion of an extra '>' character at the end of my variable when it gets run. Here's a simple example.

 

Activate Window: "Notepad"
Variable Set String %T1% "<TEXTTYPE:Example of text>"
Run Macro in Variable %T1%
Macro Return

 

<ACTIVATE2:Notepad><TVAR2:01:01:<TEXTTYPE:Example of text>><RUNMACVAR:1><MRETURN>

 

That should type into Notepad the string Example of text

 

But I get Example of text>

 

If I remove the right hand > from the variable then the result is OK.

 

Adding delays, changing the variable etc, none made any difference.

 

Can anyone reproduce this please? If not, I have to assume it's some sort of conflict unique to my setup.

 

--

Terry, East Grinstead, UK

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...
×
×
  • Create New...