Assign a macro to a key

General questions about using TextPad

Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard

Post Reply
peterv
Posts: 4
Joined: Mon Jun 26, 2006 11:35 pm

Assign a macro to a key

Post by peterv »

I've looked in the help files and can't find anything about how to assign a macro to a key combination like ctrl + T. Anyone know how to do it and would care to share the steps?
User avatar
Bob Hansen
Posts: 1517
Joined: Sun Mar 02, 2003 8:15 pm
Location: Salem, NH
Contact:

Post by Bob Hansen »

See my second paragraph before doing these steps.

1. Design and save the macro file.
2. Configure/Preferences/Keyboard
3. Under Categories, select Macros
4. Uncer Commands, select the macro for the hot key
5. Put cursor in the field under Categories for "Press new shortcut key"
6. Press the desired hot key combo (ie: CTL-ALT-Y)
7. If combo is already assigned you will get a message with details. If no message, continue...
8. Click on Assign
9. Click on Apply and OK to close the window.

---------------------------
When making configuration changes I find it best to follow these steps, especially for any changes in Classes:

1. Close all other copies of TextPad.
2. Close all open documents, INCLUDING THE DEFAULT NEW BLANK DOCUMENT.
3. Make the changes you want: Configure/Preferences/.....change as needed.
4. Apply and OK your way out the configurations.
5. Close TextPad.
6. Open TextPad again, and your changes should be good.
Hope this was helpful.............good luck,
Bob
ak47wong
Posts: 703
Joined: Tue Aug 12, 2003 9:37 am
Location: Sydney, Australia

Post by ak47wong »

Hi peterv, it is in the help file, but it's not very clear.

You first need to make sure the macro appears in the Macro menu. If not:
  1. Click Configure->Preferences.
  2. Click Macros.
  3. Under Macros available, click the macro you want to add to the menu and then click Add >>.
Once the macro appears in the Macro menu, follow these steps to assign it to a keystroke:
  1. Click Configure->Preferences.
  2. Click Keyboard.
  3. Under Categories, click Macros.
  4. Under Commands, click the macro you want to assign the keystroke to.
  5. Click the box under Press new shortcut key.
  6. Press your desired key combination, e.g. Ctrl+T.
  7. Click Assign.
Andrew
Post Reply