MEnewb1143 Posted October 12, 2008 Report Share Posted October 12, 2008 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! Quote Link to comment Share on other sites More sharing options...
terrypin Posted October 12, 2008 Report Share Posted October 12, 2008 Why do you keep opening new threads? -- Terry, East Grinstead, UK Quote Link to comment Share on other sites More sharing options...
stan Posted October 13, 2008 Report Share Posted October 13, 2008 Yes, you should stick to the same thread. You are pasting from the clipboard. You need to play back the text of the variable. If the number sequence is saved to variable T1, then you need to enter %T1% in the Text Type command rather than <CTRLD>v<CTRLU>. 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.