Jump to content

Recommended Posts

Posted

Is there a way for LISP to recognize the Ctrl key?

  • Replies 25
  • Created
  • Last Reply

Top Posters In This Topic

  • jmerch

    9

  • alanjt

    8

  • BIGAL

    4

  • ReMark

    3

Top Posters In This Topic

Posted

Express Tool subroutine: (acet-sys-control-down)

T = Yes

nil = no

Posted

Is this a setvar? or how do you write it to toggle?

Posted
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?

Posted

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.

Posted
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.

Posted

Any other languages used in ACAD? :unsure:

 

Visual?

Posted

Why do not you make a button from the toolbar menu and add an action to it ?

Posted
Any other languages used in ACAD? :unsure:

 

Visual?

Visual is still LISP. I meant like .net, etc.

Posted
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.

Posted

It executes the same command just reacts differently.

Posted
It executes the same command just reacts differently.

That sucks.

Posted

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?

Posted
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.

Posted
I can't, I get yelled at.:shock:

 

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.

Posted
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?

Posted

I need a lefthanded screw driver where do I find them looked everywhere.

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...