Display full version of the post: A2K4 style accelerators for A2K6 and above

cparnell
07.08.2007, 14:14
I am aware of AutoCADs Temporary Override Keys for AutoCAD 2006 and above, however I have had issues with them working all of the time. To me my custom accelerators keys in AutoCAD 2004 worked much better.
I created the following accelerators for my OSnaps and I miss them dearly. Does any one know how to create this same ability for AutoCAD 2006?
 
["1"]_CEN["2"]_ENDP["3"]_INT["4"]_MID["5"]_NODE["6"]_PERP["7"]_QUA["8"]_TAN["9"]_nea
 
I have been told that creating what I did, or copied from some ones input, was an undocumented feature with AutoCAD 2004.
AutoCAD 2006 CUI interface does not allow single character input for Temporary Overrides.
I know very very little about LISP and have not been able to figure out any way to create this functionality with LISP or other wise. Can anyone help me?

I have tried the trial version of AutoHook but that did not work as well as my accelerator keys.
 
Thanks for any help in advance. 

Vladimir Michl
07.08.2007, 16:24
You may also use Keyboard shortcuts (not just the Overrides) in CUI. I doubt you can use plain (top row) number keys as accelerators - only the Shift+number or Ctrl+number combinations, but you can use the Numpad numbers.

cparnell
07.08.2007, 16:41
I agree with you that keyboard shortcuts could be used (key + key), however that is some what the same as a temporary override key (key + key).
I did think of using the numpad keys but I would rather keep my right hand on the mousse and use my left hand for my single key accelerator keys if I can find out how.
 
Thanks for the response.

golftom
05.09.2007, 13:45
Hello,There is a 3rd party program called "AutoHook" that will allow you to redefine "any" key or key combination. The arrow keys, the ins, home, pgup, ... and the F keys. I have used it since r2000. I think the price is about $30.00.Unfortuneatley, they do not have a version for r2008, yet.Hope this helpsThe web site for autohook is:command dash digital dot com

iDraft
21.09.2007, 12:10
well personally what i use for snaps instead are autolisp routines. i took lisp file from someone else with some basic snap stuff and built more into it so  have lisp extensions for all of my basic commands with letter codes ie. lee is line from end to end etc and osnap lisps like oso for osnap node and stuff. it's the long way workaround, but won't go away.this type of lisp code is really easy to write here is a sample.(defun c:Lee() (command "line" "end" pause "end" pause *cancel*))(DEFUN C:osE() (command "osmode" "1"))anyways also you can define the lisp funtion to be a number from the command line like so. for osnap endpoint. etc.
(DEFUN C:1() (command "osmode" "1"))

cparnell
21.09.2007, 13:39
Thank you for the responce, however I just upgraded to A2K8.

cparnell
21.09.2007, 13:40
iDraft


I am curious about your process, I will see what I can do with it.
 
Thanks

iDraft
21.09.2007, 14:01

yeah, it work pretty well. when the guy i got the idea from mentioned it to me i was pretty skeptical myself, but having used it for a few years now i can't work without it, it cuts a lot of keys out of the whole deal (like the extra enter keys while stepping through the snap inputs) iDraft2007-09-21 14:01:25