tocmo0nlord Posted May 25, 2013 Report Share Posted May 25, 2013 I get this data into clipboard ID: 0555 Name: Steve Job Title: Mop guy Email: aol@aol.com Phone: 973/555-5555 I would like to make each field into a variable. example. data for ID = 0555 creating 0555 at T1 and so on with the rest. Steve = T2 Mop guy = T3 aol@aol.com = T4 Quote Link to comment Share on other sites More sharing options...
Cory Posted May 25, 2013 Report Share Posted May 25, 2013 I would set a variable to the contents of the clipboard then split it into an array Using CR LF. Then I would delete the appropriate number of characters in each to remove the labels. Quote Link to comment Share on other sites More sharing options...
Samrae Posted May 28, 2013 Report Share Posted May 28, 2013 So, something like this: Variable Set to ASCII Char 13 to %CR% Variable Set to ASCII Char 10 to %LF% Variable Set String %Clipboard% from the clipboard contents Split String "%Clipboard%" on "%CR%%LF%" into %Record%, starting at 1 // Here: %Record[1]% holds the first line, "ID: 0555" %Record[2]% holds the second line, "Name: Steve" %Record[3]% holds "Job Title: Mop guy" etc. Quote Link to comment Share on other sites More sharing options...
Cory Posted May 28, 2013 Report Share Posted May 28, 2013 Exactly. Then Variable Modify String > Delete Part of Text to eliminate the labels. 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.