Jump to content

Recommended Posts

Posted

if i have a macro named "mm",how can it run by picking a coin or by keyboard input?

Posted

-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

  1. Right-click any toolbar button. Click Customize.
  2. In the Customize dialog box, click the Keyboard tab.
  3. Select a command.
  4. Place the insertion point in the Press New Shortcut Key text box.
  5. 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.
  6. Click Assign.
  7. Click OK to close the Customize dialog box and recompile the menu.

Posted
how can it run by picking a coin

 

What do you mean by "picking a coin"?

Posted

but how to make a new command and to assign the macro to a command?

Posted
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:...)

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...