I was thinking that you could use the TimerEvent in the XSI SDK.

on key up:
  - call timer.Reset(0/*one shot timer*/, 0.1/*short delay*/);

when timer is triggered:
  - call your Python code to activate the selection tool

P.S. I designed ExitTool to be called from the tool's context menu so the fact 
you can't use it on key up is an unfortunate bug.
--
Brent

From: [email protected] 
[mailto:[email protected]] On Behalf Of Andrew Prostrelov
Sent: 03 June 2016 05:04
To: [email protected]
Subject: Re: exit from a CustomTool

 I am not quiet sure that i understand you right. Did you mean right a delay 
timer or use events ?
 The friend of mine suggest EventTimers. Register additional event with a timer 
in it.
 But it was in a context of a slightly different topic.
 Let's assume that we receive KeyUp callback, what a timer should do ?

<<attachment: winmail.dat>>

------
Softimage Mailing List.
To unsubscribe, send a mail to [email protected] with 
"unsubscribe" in the subject, and reply to confirm.

Reply via email to