Jump to content
Macro Express Forums

Even More Parsing


MEnewb1143

Recommended Posts

Here's what I have so far:

 

Contol Key Down

Text Type: c

Contol Key Up

Variable Set String %T1% from Clipboard

Variable Set Integer: %N1% from Position of Text in Variable %T1%

Variable Set Integer: %N1% = %N1% - 4

Variable Modify String: Delete Part of %T1%

Variable Modify String: "External - SecureCRT"

Text Type: z -os <CTRLD>v<CTRLU> -s

 

I'm trying to get a number from the cliboard. Copy to it, parse out the piece I need (xxx-xxxxxxx-xxxxxxx), switch to my CRT window and run a command with what I copied out. Where am I going wrong? I run the macro and it switches to the CRT window and copies the wrong thing, looks like random text.

 

Thanks!

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