[Home] [Downloads] [Search] [Help/forum]

Macros

Customise output from function keys and 'Game' menu.

Use this dialog to configure what is sent if you press one of the function keys (macros), for example, F2. The string you enter is sent through command processing so you can put aliases here.

Also, some items (like "quit") control what is sent if you select Quit from the Input menu.

Override with default macros

If checked, next time the world is loaded your macros are replaced with the default ones. See the help topic on "defaults" for more details.

Edit...

Click to edit a macro.

Find...

Click to find a macro based on its contents.

Find Next

Click to repeat the next find (find another one that matches).

Load...

Click to load macros from disk.

Save...

Click to save selected macros to disk.

Hint

To do more elaborate things (like expanding variables, running scripts) enter a nonsense word as what to send, and then make an alias to "catch" that word, and do the extra processing in the alias. One way of doing this is to use the Edit -> Generate Unique ID menu item to generate a unique word, like this:

381e051a828fb201b6914699

This is unlikely to be something you would normally want to type into the MUD. Then make an alias to match on "381e051a828fb201b6914699" (or whatever word you choose) and make the alias do things like expand variables, call scripts, etc.




Warning

Any accelerators which have been defined with the Accelerator function will hide a corresponding macro from being shown in the macro configuration screen, so as to avoid confusion about what the keystroke actually does.


See Also ...

Topics

Aliases
Keypad navigation
Macro keys

Command

(ConfigureMacros) Sets macro options

Dialog

Edit macro

Functions

(Accelerator) Add or modify an accelerator key (keystroke to command mapping)
(AcceleratorList) List defined accelerators
(AcceleratorTo) Add or modify an accelerator key - with "Send To" parameter

(Help topic: dialog=IDD_PREFS_P6)

Documentation contents page


Search ...

Enter a search string to find matching documentation.

Search for:   

Quick links: MUSHclient. MUSHclient help. Forum shortcuts. Posting templates. Lua modules. Lua documentation.

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.

[Home]


Written by Nick Gammon - 5K   profile for Nick Gammon on Stack Exchange, a network of free, community-driven Q&A sites   Marriage equality

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( https://gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Hosted at FutureQuest]