View Full Version : Configuring accelerator keys?
hyposmurf
21st Dec 2002, 03:10 pm
Can anyone tell me how to configure my own accelerator keys,I've heard that alot of people use these keys to speed there work up and you can therefore have more space on your drawing editor,as you need less active toolbars.Found some explanations but they are a bit confusing.Some example accelerator keys would be good!
f700es
21st Dec 2002, 10:31 pm
Can anyone tell me how to configure my own accelerator keys,I've heard that alot of people use these keys to speed there work up and you can therefore have more space on your drawing editor,as you need less active toolbars.Found some explanations but they are a bit confusing.Some example accelerator keys would be good!
Look in your acad.pgp file (search your acad folder for it) and open it with your notepad. Set the alias keys the way you want and start acad and see how you like it. You can also do it in Acad if you have the bonus tools installed. Good Luck.
F7
vizwhiz
23rd Dec 2002, 01:08 am
hi There
hyposmurf,
The acad accelerator keys are located in the acad.mnu and etc mnu's
here is the default as it is in the acad.mnu
****
//
// Keyboard Accelerators
//
// If a keyboard accelerator is preceded by an ID string that references a menu item
// in a pull-down menu, then the keyboard accelerator will run the command referenced
// by that menu item.
//
***ACCELERATORS
// Bring up hyperlink dialog
ID_Hyperlink [CONTROL+"K"]
// Toggle Orthomode
[CONTROL+"L"]^O
// Next Viewport
[CONTROL+"R"]^V
ID_Copyclip [CONTROL+"C"]
ID_New [CONTROL+"N"]
ID_Open [CONTROL+"O"]
ID_Print [CONTROL+"P"]
ID_Save [CONTROL+"S"]
ID_Pasteclip [CONTROL+"V"]
ID_Cutclip [CONTROL+"X"]
ID_Redo [CONTROL+"Y"]
ID_U [CONTROL+"Z"]
ID_Modify [CONTROL+"1"]
ID_Content [CONTROL+"2"]
ID_dbConnect [CONTROL+"6"]
ID_VBARun [ALT+"F8"]
ID_VBAIDE [ALT+"F11"]
they practically dsiabled what was so good about accelerator keys after release 13
(which actually worked well, well the accelerator keys did at least that is)
check it out;
The acad.pgp has command aliases (which are really useful)
A, *ARC
ADC, *ADCENTER
AA, *AREA
AL, *ALIGN
AP, *APPLOAD
AR, *ARRAY
ATT, *ATTDEF
-ATT, *-ATTDEF
ATE, *ATTEDIT
-ATE, *-ATTEDIT
ATTE, *-ATTEDIT
B, *BLOCK
-B, *-BLOCK
BH, *BHATCH
BO, *BOUNDARY
-BO, *-BOUNDARY
BR, *BREAK
C, *CIRCLE
or you can use autolisp to create your own commands (kind of)
(defun c:00 () (command ".save"" "") (princ))
(defun c:10 () (command ".pan") (princ))
(defun c:21 () (command ".line" ) (princ))
(defun c:30 () (command ".copy") (princ))
etc usw
Thanks
vizwhiz
hyposmurf
28th Dec 2002, 10:29 pm
Thanks for the help,but unfortunately can't get them to work!I open the menu file from my support file,type the following at the bottom under the accelerator section.ID_AtteditSin[CONTROL+SHIFT+"E"]
I'm trying to assign tyhe ATTEDIT comand to the CONTROL,SHIFT and "E" character key.I've also tried [CONTROL+SHIFT+"E"]AtteditSin.Any ideas,I just keep getting the isoplane up,down etc! :?
vizwhiz
28th Dec 2002, 10:53 pm
hi There
hyposmurf
i got This to work
[CONTROL+SHIFT+"Q"]^C^Cattedit
opened acad.mnu
made edits savedas acad-test.mnu
(just to test it with a different name)
menu: acad-test.mnu
menuload: acad-test.mnc
worked 1st time
ok not a great combination of keystrokes if you use This a lot
but not sure which other more "user friendly" keystroke that you
might want to give up to use This
maybe it is a good Idea to stay away from the predefined keys
as [alt+"E"]^isoplane
but hey that is your decision to make
i used to have a whole bumch of accelerator keys defined
because i use a mouse left handed that leaves the right hand
just over the numeric keypad and i had at least 40 or more combinations
but they took it all out (most of it anyways) in realease 14 (still mad, too)
****
i tried some other combinations before i got to This one
i just copied the line directly out of the help index file and then
changed it to another keystroke combination using the "Q"
awkward but This was just for testing purposes to see if it works
****
i hope This helps
let me know how it works for you
Thanks
vizwhiz
vizwhiz
28th Dec 2002, 10:55 pm
ok typo
make that a [ctrl+"E"] = isoplane toggle
butter fingers, not enough coffee today
Thanks
vizwhiz
hyposmurf
28th Dec 2002, 11:36 pm
Thanks I tried that,opened my menu file tried the test first and then altered the menu file,but neither of them worked :cry: .I also loaded my test menu and my new menu file,but when trying the key comination ctrl,shift,"Q" i had no joy!Have I got something disabled in CAD other than my brain?Tried unchecking windows standard accelerator keys and still nothing.Thanks for your patience!
hyposmurf
30th Dec 2002, 07:43 pm
I've found another easier way :lol: ,I managed to find a copy of the old alias editor that was once used with AutoCAD R14.Copied the files into my Acad/express file and created a new autolisp file,with the following text
(defun C:ALIASEDIT ()
(if (not (startapp "alias")) (alert "could not load 'alias.exe'."))
(princ)
)
You then go to appload and load this autolisp file,so that it automatically loads at start up.This seems to have done the trick,all I have to do now is call up the editor using ALIASEDIT and type my new desired alias and its CAD command in and I then have a new alias,eg "AE" for modify single attributes. :D
Powered by vBulletin™ Version 4.1.2 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.