AddCancel

Started by fred_tomke · 2010-02-04 09:51 UTC · 5 replies · SMF topic #1162

Hello,

before adding a new feature request I want to ask if it is possible only to send ^C^C when actually a previous command is active in AutoCAD. I mean ^C^C should not be sent if not command is active (because of the messages in the commandline).

Fred
I think that should be possible for synchronous event handlers, but I'm not sure it could work reliably for asynchronous events (because the "cancel" occurs earlier and potentially from a different context than the eventual event handler). It would be worth investigating, though.
Hm, I had another thought:

Now cancelling will be invoked no matter if no command is active, a command is active and LISP function is running.
If it will be changed now - will it also cancel running LISP command? (I hope so) What I mean is: I'm not sure if you can also recognize if LISP function is currently running which should be cancelled, too.

Fred
author=Fred Tomke link=topic=1162.msg6182#msg6182 date=1265277065 wrote:
Hello,

before adding a new feature request I want to ask if it is possible only to send ^C^C when actually a previous command is active in AutoCAD. I mean ^C^C should not be sent if not command is active (because of the messages in the commandline).

Fred


Hi Fred,

It would not be possible to avoid the prompt *Cancel* on the command line?
The function is obvious AddCancel think needs no warning.

regards, velasquez
Hi,

I hope I understand you right. *Cancel* is prompted by AutoCAD. So that's why we have no influence on that.

Regards, Fred
author=Fred Tomke link=topic=1162.msg9259#msg9259 date=1346394723 wrote:
Hi,

I hope I understand you right. *Cancel* is prompted by AutoCAD. So that's why we have no influence on that.

Regards, Fred


Thanks Fred,

Clarified now.

regards, velaquez