Is there any way to disable the F1 button in AutoCad 2006? The method I used for previous versions does not seem to work. I can't find the acad.mns file to edit.
|
Is there any way to disable the F1 button in AutoCad 2006? The method I used for previous versions does not seem to work. I can't find the acad.mns file to edit.
The old MNU,MNS files have been replaced by CUI files. I don't have an answer on how to disable it, but I am going to move this thread over to the new CUI forum, maybe you can find an answer there.Originally Posted by jhunter
Create a new *.MNU file and put the code for an accelerator key in there that will override the F1 key ... I use my F1 key for "cancel" so that when I accidentally hit it instead of ESC, I still achieve satisfaction. Here's my code:
***MENUGROUP=<menu name here>
//
***ACCELERATORS
["F1"]^C^C
Where it says <menu name here> put the name that you call the menu, and use that same name for the file name ... Then, once you have this menu created, put it in a support path folder for acad. Go into acad, open the CUI custimization interface, go to the "transfer" tab, and on the right, open that menu and import the accelerator as you would normally. You will find it under "Keyboard Shortcuts > Shortcut Keys" ... Just drag it over to the keyboard shortcuts on the other side and presto! Redefined F1 Key ...
That's the only way I've been able to figure out how to do that so far.
Hope that helps.
Here is what I have;
***MENUGROUP=MYMENU.MNU
//
***ACCELERATORS
["F1"]^C^C
But when I go to "Transfer" there is nothing there.
Locate the "Cancel" command (the Acad.cui has it defined).
Expand your custom.cui Keyboard Shortcuts node
Expand the Shortcut Keys node
Drag-n-drop the "Cancel" command into the Shortcut Keys node
Change the properties to use the F1 key
Save and exit the CUI.
After you go to the transfer tab, you actually "load" your MYMENU.MNU file into the right hand side of the dialog? If so, you should see a little tree with menus, toolbars, keyboard shortcuts, etc... all expandable to show what stuff is contained within. If you're expanding the keyboard shortcuts branch after loading up your MYMENU.MNU and seeing nothing, post your menu file here so someone can make sure it works for them... at least we can try to eliminate the menu as the source of your problem.Originally Posted by jhunter
Don't use a legacy approach (the .mns). There is no need to. Just do what I posted.
That is really great, thanks for posting. I wonder what else would be useful as a keyboard shortcut......seems most shortcuts are handled by the pgp file.Originally Posted by RobertB
They still are. The CUI cannot define command aliases the same way that the pgp does. E.g. you cannot assign CR=Circle in the CUI.Originally Posted by rhall.72202
I removed the F1 key from all my keyboards years ago.
Problem Resolved!