Display full version of the post: How to prevent Autocad Shift + W overide

colinawright
22.11.2015, 03:26
How can I prevent Autocad from starting the NAVSWHEEL command when I type shift + W on the command line.  Also when when entering text in response to an AUTOLISP function the shifted version of "w" is ignored;  i.e. no character is printed.  I've tried to use the CUI command but can't find "Shift + W".

colinawright2015-11-22 03:49:39

Vladimir Michl
22.11.2015, 14:20

Shift+W is a fixed internal shortcut, not exposed via CUI. But any AutoLISP function expecting text input should ignore it and handle Shift+W like standard "W".

colinawright
23.11.2015, 02:23
Hi Vladimir,Thank you for your reply.  I have just done  fresh install of Autocad 2010 on a new computer and accidentally discovered that when using my Autolisp function to change a string of text  "shift + w" does not enter any text whereas "shift + anyother key" works just fine.  My old machine is the same but I had never come across the problem before.I am using a separate subroutine "#keyr" to get the new text variable newstr and submit it to the "CHANGE" command. Using: (command ".CHANGE" e "" "" "" "" "" "" "W") directly at the command prompt is fine but my #keyr function will not accept "shift + w").  I cannot at the moment work out why because #keyr is quite complex using grread  to allow for left and right clicks.  The problem only occurs with "shift + w" and no other shifted characters.Is there a way to disable Autocad's "shift + w" shortcut key or can you suggest someone who might help me debug #keyr?A big ask I know but I am very frustrated.Sincerely Colin Wright

colinawright2015-11-23 02:26:16