|
iluminati Newbie
Joined: 05 Apr 2005 Posts: 8
|
Posted: Mon Jul 21, 2008 3:38 am
Macro Keys |
I noticed that a number of keys I used to use for macros in zmud do not seem to work in cmud. Is there a way to get the following keys to work?
cursor keys, PGUP, PGDN, HOME, END |
|
|
|
charneus Wizard
Joined: 19 Jun 2005 Posts: 1876 Location: California
|
Posted: Mon Jul 21, 2008 4:24 am |
They work fine for me. *shrug*
Go to Package Editor, click New -> Macro, click on the name box (I believe that's what it is) and press the appropriate button.
Or, just do
#KEY INS {whatever}
#KEY UP {whatever}
#KEY DOWN {whatever}
#KEY LEFT {whatever}
and so forth.
Charneus |
|
|
|
Zugg MASTER
Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: Mon Jul 21, 2008 8:35 pm |
Actually, I was looking into this and another post about allowing macros to be assigned to the arrow keys. I found that CMUD *does* already have a way to do this, and Charneus is on the right track.
The problem is that the Ctrl-K Define Macro popup window doesn't recognize the arrow keys. So you have to use the syntax Charneus gave to define an arrow key macro:
#KEY UP {whatever}
But you *also* need to go into your Preferences and in the Command Line tab, turn on the "Allow alphanumeric keys to be macros". I an renaming this option in v2.33 to "Allow any key to be a macro" to make it a bit more obvious. This option allows you to define *any* key to be a macro, even a key like "A", etc. So be careful with it. |
|
|
|
iluminati Newbie
Joined: 05 Apr 2005 Posts: 8
|
Posted: Mon Jul 21, 2008 10:01 pm |
The "Allow alphanumeric keys to be macros" option did the trick. Thanks guys.
|
|
|
|
|
|