AddCancel

Started by Fred Tomke, February 04, 2010, 01:51:05 AM

Previous topic - Next topic

Fred Tomke

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
Fred Tomke
Dipl.-Ing. (FH) Landespflege

[ landscaper - landscape developer - digital landscape and urban design]

owenwengerd

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.
Owen Wengerd (Outside The Box) / ManuSoft

Fred Tomke

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
Fred Tomke
Dipl.-Ing. (FH) Landespflege

[ landscaper - landscape developer - digital landscape and urban design]

velasquez

Quote from: Fred Tomke on February 04, 2010, 01:51:05 AM
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

Fred Tomke

Hi,

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

Regards, Fred
Fred Tomke
Dipl.-Ing. (FH) Landespflege

[ landscaper - landscape developer - digital landscape and urban design]

velasquez

Quote from: Fred Tomke on August 30, 2012, 11:32:03 PM
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