Keyboard input?

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 06/11/2009 at 02:54, xxxxxxxx wrote:

User Information:
Cinema 4D Version:    
Platform:      
Language(s) :   C.O.F.F.E.E  ;

---------
Just a quick question. I wrote a coffee plugin that will sort multipass image sequences into subfolders. The plugin itself is working like a charm, but once started there is no way of aborting the procedure except force quitting Cinema.
Is there any way to check if the escape key is pressed while executing the plugin? It's just a simple menu plugin that doesn't even have a user dialog.
Thanks for your help.
Sparkle

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 06/11/2009 at 06:23, xxxxxxxx wrote:

Unfortunatly you can't catch input events on the fly with COFFEE. What you can do is to create a dialog with a cancel button and react to it. Maybe additionally display a progress bar.

cheers,
Matthias

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 09/11/2009 at 06:25, xxxxxxxx wrote:

I was afraid that would be the answer. Well, I take it as a chance to make a good plugin even better :)