Page 1 of 1

custom Alt-letter commands

PostPosted: Tue Nov 29, 2011 4:42 pm
by pwd
I would like to make alt-q bring up the cleanup (trim/extend) command rather than the default save/quit. I read some of the documentation on customizing these commands and attempted to do this but was unsuccessful? Can someone advise specifically how i would do this?

Re: custom Alt-letter commands

PostPosted: Tue Nov 29, 2011 5:15 pm
by Roger D
the command sequence records the actual menu keys that you would hit followed by a carat "^" shift-6 symbol.
Start with either the : or ;
So something like:
q^;^f9^
gets you to the cleanup menu.
Not sure what you want after that, but record each menu key F# or S# and separate by a ^.
the dollar sign will be an enter key.

My alt Q does a one line trim, and when I have the mouse near the line to trim to, the $^$ at the end will pick the line and side to trim to:
Q^;^F9^F4^$^$^
\\ Q- Trim to one line

a line starting with \\ is ignored for comments.

There are also codes you can use to quickly get to some commands

Extended character codes for use in keyboard macros, icon toolbars, and command line aliases.
https://www.datacad.com/ddn/extended_character_codes.htm

Built-in function numbers for use in icon toolbars.
https://www.datacad.com/ddn/built-in_fun ... umbers.htm

Post what you've tried, explain a little more of what steps you are trying to do, and we can help you with the process.

Re: custom Alt-letter commands

PostPosted: Tue Nov 29, 2011 5:44 pm
by pwd
thanks......I input your custom alt-q command into my DCADWIN.MCR file and it worked perfectly! exactly the functionality I was looking for!