How to put a TAB into the clipboard?

Technical support and scripting issues

Moderators: Dorian (MJT support), JRL

Post Reply
User avatar
aliteralmind
Newbie
Posts: 14
Joined: Sun Jan 17, 2010 4:53 pm
Location: Philly
Contact:

How to put a TAB into the clipboard?

Post by aliteralmind » Wed Dec 18, 2013 4:41 pm

I need to PASTE a tab into a dialog's text box. PRESS-ing the tab takes me to another field. Pasting it works.

How do I put a tab into the clipboard? I don't see how to do this with either PutClipBoard or Ascii. Thank you for helping me!

User avatar
Rain
Automation Wizard
Posts: 550
Joined: Tue Aug 09, 2005 5:02 pm
Contact:

Post by Rain » Wed Dec 18, 2013 5:01 pm

Use %TAB%

Code: Select all

PutClipBoard>1%TAB%2

User avatar
aliteralmind
Newbie
Posts: 14
Joined: Sun Jan 17, 2010 4:53 pm
Location: Philly
Contact:

Post by aliteralmind » Wed Dec 18, 2013 5:14 pm

WOOHOO!!!

Thank you!

I don't see anything like this in the documentation, and

Code: Select all

echo 1%TAB%2
does not work at a command prompt either (it just prints "12").

If you happen to know where this information is, please let me know.

Thanks a lot!

User avatar
Marcus Tettmar
Site Admin
Posts: 7380
Joined: Thu Sep 19, 2002 3:00 pm
Location: Dorset, UK
Contact:

Post by Marcus Tettmar » Thu Dec 19, 2013 4:02 pm

TAB is just a predefined variable containing a TAB character.

It is documented under System Variables in the help file. And here:

http://www.mjtnet.com/manual/systemvariables.htm

You can use it in any command.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?

User avatar
aliteralmind
Newbie
Posts: 14
Joined: Sun Jan 17, 2010 4:53 pm
Location: Philly
Contact:

Post by aliteralmind » Thu Dec 19, 2013 5:23 pm

FYI: The link is pointing to a page that says "System Variables" at the top with just emptiness below it.

But I found it in the offline help documentation, and it is much appreciated!

User avatar
Marcus Tettmar
Site Admin
Posts: 7380
Joined: Thu Sep 19, 2002 3:00 pm
Location: Dorset, UK
Contact:

Post by Marcus Tettmar » Fri Dec 20, 2013 12:06 pm

Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts