MikeP Posted August 21, 2012 Posted August 21, 2012 Here is what Im trying to do. I want to use the number pad to call off my commands rather than the letters (Im a lefty for those who dont see the purpose in this) It helps me move my hand less and keeps my hand on the mouse. I can call off normal CAD commands. but when I have a lisp I want to use, Like the "NI" command, it cant find it. How can I create a short cut basically? On the other hand, how can I relocate my "ESC" to say the "Page Down" Key? (defun c:1 () (command "move") (princ) ) (defun c:41 () (command "extend") (princ) ) (defun c:21 () (command "trim") (princ) ) (defun c:18 () (command "ni") (princ) ) Quote
MikeP Posted August 21, 2012 Author Posted August 21, 2012 Look into editing your acad.pgp file. why didnt I think of that... thanks Quote
BlackBox Posted August 21, 2012 Posted August 21, 2012 (edited) any idea about the relocating esc? *IF* even reasonably possible via AutoCAD .NET API... Methinks that will require a KeyPress Event monitor, but even then, one would have to have sufficient code to detect the Active Process, etc. so as to not interfere with other applications, or even that which is needed by the OS. Edited August 21, 2012 by BlackBox Quote
neophoible Posted August 21, 2012 Posted August 21, 2012 I used an online tutorial (video?) to redefine my F1 key to Cancel via CUI (Custom User Interface). I think it was by Lynn Allen but it Escapes me now. Here is a link (with pics) showing how to solve the problem the same way: http://beingcivil.typepad.com/my_weblog/2009/12/how-to-disable-f1-key.html However, I wonder if the Pg Dn key you mentioned is really the right one to redefine for you as you also mentioned using the Number Pad for numbers, which would make it act as ‘3’, wouldn’t it? Quote
BlackBox Posted August 21, 2012 Posted August 21, 2012 If memory serves... Neither Shortcut Keys, or Temporary Override Keys support the Page Down key alone... However, you can create a Shortcut Key that accepts Ctrl+Page Down... I just find it easier to use Esc personally. Quote
SLW210 Posted August 21, 2012 Posted August 21, 2012 If memory serves... Neither Shortcut Keys, or Temporary Override Keys support the Page Down key alone... However, you can create a Shortcut Key that accepts Ctrl+Page Down... I just find it easier to use Esc personally. Or program some buttons on a mouse.....why reinvent the wheel? Quote
BlackBox Posted August 21, 2012 Posted August 21, 2012 Or program some buttons on a mouse.....why reinvent the wheel? Not trying to reinvent the wheel here... I do have macro enabled mouse, keyboard, etc.. but was not sure that was the case for the OP, given the request for an alternate keyboard button. Again, I still find it easier to just hit Esc Quote
BIGAL Posted August 22, 2012 Posted August 22, 2012 (edited) You can remap the entire keyboard if you wish but at your own peril, I had a broken key on my laptop so remapped another key. Maybe Pause/break as Esc or F12 the down side is its loaded at boot. Dont have the program right now as new Pc but just searched the NET for keyboard remap. If you remap the keyboard it does allow for every key to be recognised like you have 2 no 1's on a normal 101 keyboard they can be different. Why not just make your own toolbar with all the commands you like to use its not that hard you can do inside (CUI) or outside of Autocad, My "workspace" has all sorts of stuff pulled from various menus, I found from one pull down I was generally only using 3 commands not the 30+ So replaced it. Save your workspace if you need more just jump to the other standard workspaces. Edited August 22, 2012 by BIGAL Quote
SLW210 Posted August 22, 2012 Posted August 22, 2012 Not trying to reinvent the wheel here... I do have macro enabled mouse, keyboard, etc.. but was not sure that was the case for the OP, given the request for an alternate keyboard button. Again, I still find it easier to just hit Esc I was referencing the OP as trying to reinvent the wheel.... Quote
neophoible Posted August 22, 2012 Posted August 22, 2012 Speaking of re-inventing… It looks like no one but the OP has mentioned being left-handed. It might’ve been a good thing to mention in the title, to get some workable ideas from some like-handed folks. I don’t recall ever having anyone around me CADding left-handed. Quote
Recommended Posts
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.