Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations IDS on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

AutoCAD 2002 Redefine F1 key

Status
Not open for further replies.

pduch

Computer
Apr 10, 2003
4
I am attempting to redefine or even disable the F1 key in AutoCAD. Users attempt to hit Escape and hit F1 instead and this is a hassle. What can I do to disable the F1 key?
 
Replies continue below

Recommended for you

Hi pduch, I'm not sure, maybe Your acad.mnu is damned. Take a new one from somebody else and reload.
Lothar Win NT4.0 (SP6),
ACAD 2000i (SP2), ADT 3.0 (SP3),
ACAD 2002, ADT 3.3,
OCÈ 5200

 
I don't think you can it is a pre-defined key.
Create accelerator keys (keyboard shortcuts) for commands

Published date: 2003-03-19
ID: TS22496

Applies to:
AutoCAD® 2004
AutoCAD® 2002
AutoCAD® 2000i
AutoCAD® 2000
AutoCAD LT® 2004
AutoCAD LT® 2002
AutoCAD LT® 2000i
AutoCAD LT® 2000


Issue


You want to create keyboard shortcuts, or accelerator keys, for commands that you use frequently.

Solution


Important: Some keys cannot be modified. Refer to the Customization Guide for a list of keys that are already defined. Do not modify predefined keys.

You can use one of the following methods to create accelerator keys in the MNU file:

Use the Customize dialog box (Keyboard tab)
Manually add the keys to the MNU file
Method #1: Use Customize dialog box

Right-click any toolbar button and click Customize on the shortcut menu.
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, and then close the Customize dialog box to recompile the menu.
Method #2: Manually add accelerators keys to MNU file

In a text editor, such as Microsoft® Notepad, open the menu template file from the Support folder.
Locate the section labeled ***ACCELERATORS.
At the end of the ***ACCELERATORS section, use one of the following formats to add a new accelerator key:

[<Key Sequence>]^C^C<Command Name>

- or -

ID_<Command Name> [<Key Sequence>]

An example of these formats is shown below. The first one assigns the CTRL+Q key combination to invoke the QUIT command; the second one assigns the SHIFT+CTRL+L key combination to invoke the LINE command.

[CONTROL+&quot;Q&quot;]^C^C_quit
ID_Line [SHIFT+CONTROL+&quot;L&quot;]


Save the MNU file to the Support folder, replacing the existing MNU file.
Now, you must activate the new accelrator keys.

To activate new accelerators keys

Start your Autodesk software.
Enter menu on the command line.
In the Select Menu File dialog box, browse to the Support folder.
From the File Type list, select MNU as the file type.
Select the MNU file that includes the accelerator keys and click Open.
Click Yes to continue loading the MNU file.
This process recompiles the menu so you can use the new accelerator keys.
 
There's a previous thread that addresses this issue.
Take a look!
Click below.
thread555-46166

[roll2]
 
I was trying to edit the acad.mnu file and the F1-key was never redefined. I did figure it out though.
I had to edit the acad.mns file.
Under Accelerators in the acad.mns file,
I entered the following:

[&quot;F1&quot;]^C

The F1-key is now Cancel, just like the escape key.

Thanks all for all your help!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor