Jump to content
Macro Express Forums

Copy More Than 1 Parameter Into T Variable?


koden

Recommended Posts

I have to copy 3 things into a T variable and put a comma between.

But how do i copy more than 1 parameter into a T variable?

 

Lets say i copy first name and put it to T1.

Thats easy

 

But then i copy tlf. number and want to put this in T1 after the name and seperatet with a comma.

 

At the moment I first copy name and number to a txt document and then into T1.

Link to comment
Share on other sites

// Set T10 to "comma space"

Variable Set String %T10% ", "

// Copy your first text and set to T1

Clipboard Copy

Variable Set String %T1% from Clipboard

// Append T10 to T1 to be "Text, "

Variable Modify String: Append %T10% to %T1%

// Copy next set of text

Clipboard Copy

Variable Set String %T2% from Clipboard

// Append new text to T1 (will now appear as "Text, NewText"

Variable Modify String: Append %T2% to %T1%

Variable Modify String: Append %T10% to %T1%

// Repeat Append T10 to T1, Clipboard copy, save to T2, Append to T1 as many times as needed.

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