Windows Macro Scripts for TrueTTY

 

   This page contains listings of the Workplace Macro Pro 6.5 scripts for TrueTTY v. 2.8. They can be easily converted to work with other macro programs.

   Windows macro scripts control the computer operating system, so errors can have damaging consequences. Set a restore point, back up your data, and read the program user manual before testing macros.

   Depending on your computer and software, it may be necessary to insert a short delay between the lines. But, avoid any delay between Ctrl-N and Alt-D in both Script1 and Script2. Any characters that arrive between Copy and Delete would be lost.

Script1—Shortcut:  Alt-X

Delay 50 (msec)
[CTRL DOWN]n[CTRL UP][ALT DOWN]d[ALT UP]     in TrueTTY
.  (period)     in Notepad

Comments:
     Ctrl-N Alt-D copies text from TrueTTY to Notepad and deletes
          text in TrueTTY.
     Placing a period in Notepad makes it the active window.
     In the MacroPro script language, pressing the CTRL key
     is coded as [CTRL DOWN]. Releasing the key is coded
           as [CTRL UP].

Script2—Shortcut:  Alt-C

Delay 50 (msec)
[Close Window]     in Notepad
[TAB][ENTER]     in Currently Active Window  (dialog box)
[CTRL DOWN]n[CTRL UP][ALT DOWN]d[ALT UP]     in TrueTTY
.   (period)     in Notepad

Comments:
     Tab Enter selects the "Do Not Save" option when Notepad closes.
     Refer to Script1 for additional comments.

Script3—Shortcut:  Alt-V

Delay 50 (msec)
[Close Window]     in Notepad
[TAB][ENTER]     in Currently Active Window (dialog box)
[ALT DOWN]d[ALT UP][F12]     in TrueTTY

Comments:
     Tab Enter selects the "Do Not Save" option when Notepad closes.
     Alt-D clears the TrueTTY text window.
     F12 executes the TrueTTY macro (~[cl]) that deletes text in the
          Transmit Window and places the PC cursor in the Transmit
          Window.

Author Information

   AE7PD is an Extra Class amateur radio operator in the U.S. This web site has no ads or conflicts of interest.
Email:  HamRadioAndVision "at" gmail "dot" com

1/20/2012

Related Article: Automating TrueTTY Keystrokes

HamRadioAndVision Home Page