How to prevent Autocad Shift + W overide
Printed From: CAD Forum
Category: EN
Forum Name: CAD - general
Forum Description: General discussion about CAD, formats, standards, management, licensing, networking, harware, other CAD applications
URL: https://www.cadforum.cz/forum_en/forum_posts.asp?TID=11488
Printed Date: 04.Jul.2026 at 02:40
Topic: How to prevent Autocad Shift + W overide
Posted By: colinawright
Subject: How to prevent Autocad Shift + W overide
Date Posted: 22.Nov.2015 at 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".
|
Replies:
Posted By: Vladimir Michl
Date Posted: 22.Nov.2015 at 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".
------------- Vladimir Michl (moderator) ARKANCE - https://arkance.world" rel="nofollow - https://arkance.world - Autodesk Platinum Partner
|
Posted By: colinawright
Date Posted: 23.Nov.2015 at 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
|
|