jmerch Posted November 11, 2010 Posted November 11, 2010 Is there a way for LISP to recognize the Ctrl key? Quote
alanjt Posted November 11, 2010 Posted November 11, 2010 Express Tool subroutine: (acet-sys-control-down) T = Yes nil = no Quote
jmerch Posted November 11, 2010 Author Posted November 11, 2010 Is this a setvar? or how do you write it to toggle? Quote
alanjt Posted November 11, 2010 Posted November 11, 2010 Is this a setvar? or how do you write it to toggle?As I said, it's an Express Tool subroutine. Toggle? This only detects. What are you trying to do? Quote
jmerch Posted November 11, 2010 Author Posted November 11, 2010 Sorry, learning LISP and not familiar with Express Tool subroutine. In a 3rd party program we use, they have a button for an action, and if you hold the Ctrl key then click the button, it performs the same action but slightly differently. I want to create my own command that does this so I don't have to hold the Ctrl key and click this button. I want to define a command that executes the routine of holding the Ctrl key and the command. Thanks. Quote
alanjt Posted November 11, 2010 Posted November 11, 2010 Sorry, learning LISP and not familiar with Express Tool subroutine. In a 3rd party program we use, they have a button for an action, and if you hold the Ctrl key then click the button, it performs the same action but slightly differently. I want to create my own command that does this so I don't have to hold the Ctrl key and click this button. I want to define a command that executes the routine of holding the Ctrl key and the command. Thanks. Ahh, I see. Hmm, you can't mimic from LISP, but you can form other languages. Quote
jmerch Posted November 11, 2010 Author Posted November 11, 2010 Any other languages used in ACAD? Visual? Quote
Sweety Posted November 11, 2010 Posted November 11, 2010 Why do not you make a button from the toolbar menu and add an action to it ? Quote
alanjt Posted November 11, 2010 Posted November 11, 2010 Any other languages used in ACAD? Visual? Visual is still LISP. I meant like .net, etc. Quote
alanjt Posted November 11, 2010 Posted November 11, 2010 Why do not you make a button from the toolbar menu and add an action to it ? How can a button mimic the control key? Thinking about this further, does a different command execute if the Control key is pressed or is the same command executed, but just reacts differently? If a different, then you can just execute that specific command. Quote
jmerch Posted November 11, 2010 Author Posted November 11, 2010 It executes the same command just reacts differently. Quote
alanjt Posted November 11, 2010 Posted November 11, 2010 It executes the same command just reacts differently. That sucks. Quote
jmerch Posted November 11, 2010 Author Posted November 11, 2010 Looking at the CUI/Keyboard Shortcuts, I don't suppose you can set something in here...b/c these are all based off commands still, right? Quote
alanjt Posted November 11, 2010 Posted November 11, 2010 Looking at the CUI/Keyboard Shortcuts, I don't suppose you can set something in here...b/c these are all based off commands still, right? It's still based on what you type, it's not manipulating any keys. You'd have to figure out how to manipulate the control key, or figure out how to call the program in the alternate - Ctrl down - manner. Ask some of the guys in the .NET section for some help. Quote
ReMark Posted November 11, 2010 Posted November 11, 2010 I can't, I get yelled at. Try rephrasing your question based upon the information that Alan gave you. I did not yell at you. You basically asked the same question in two different forums. If you do not know how to rephrase the question then ask. When Alan mentioned .NET that alone should have given you a clue as to what NOT to ask, i.e. - don't ask about lisp. Might as well ask for a gallon of paint at a lumber yard. Quote
ReMark Posted November 11, 2010 Posted November 11, 2010 Re: AutoCAD and .NET: http://usa.autodesk.com/adsk/servlet/item?siteID=123112&id=4879815 AutoCAD .NET Developer's Guide: http://docs.autodesk.com/ACD/2010/ENU/AutoCAD%20.NET%20Developer%27s%20Guide/index.html Components of the AutoCAD .NET API: http://docs.autodesk.com/ACD/2011/ENU/filesMDG/WS73099cc142f48755-35a0330e12075abe904-7442.htm Through the Interface.... http://through-the-interface.typepad.com/through_the_interface/autocad_net/ AutoCAD .NET Basics - Part I: http://augiru.augi.com/content/library/au07/data/paper/DE111-2.pdf Quote
ReMark Posted November 12, 2010 Posted November 12, 2010 Hey, could I get a gallon of paint? Aisle 2, right next to the pressure treated 1x6's. Do you need a hammer to go with that paint? Quote
BIGAL Posted November 15, 2010 Posted November 15, 2010 I need a lefthanded screw driver where do I find them looked everywhere. 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.