warshing Posted March 31, 2009 Posted March 31, 2009 if i have a macro named "mm",how can it run by picking a coin or by keyboard input? Quote
Peter K Posted April 1, 2009 Posted April 1, 2009 -Make a new command. -Assign the macro to a command and then assigning the command to a toolbar button or to a short cut key To set up a shortcut key in Acad 2004 Right-click any toolbar button. Click Customize. In the Customize dialog box, click the Keyboard tab. Select a command. Place the insertion point in the Press New Shortcut Key text box. Press the key combination that you want to assign to the command. If an accelerator key already exists for that command, it will appear in the Current Keys box. If the key combination you specify is already assigned to a different command, the command will appear in the Currently Assigned To box. To see a list of all current accelerator keys, click Show All. Click Assign. Click OK to close the Customize dialog box and recompile the menu. Quote
Lee Mac Posted April 1, 2009 Posted April 1, 2009 how can it run by picking a coin What do you mean by "picking a coin"? Quote
warshing Posted April 6, 2009 Author Posted April 6, 2009 but how to make a new command and to assign the macro to a command? Quote
Lee Mac Posted April 6, 2009 Posted April 6, 2009 but how to make a new command and to assign the macro to a command? Are you trying to run a LISP file (beginning (defun c:mm (/ ...)) or a Macro beginning ^C^C...? If it is a LISP file, then just make sure that the LISP file is loaded (either in Startup Suite or ACADDOC.lsp), and just follow the above for customising a button, and in the box where it says "Macro", just type the syntax that appears after (defun c:...) Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.