Sikuli cannot be forced closed by shift+ctrl+c

Asked by kai yung ezra chua

was testing the hotkey function and it wont let me force stop sikuli until it finished the event (if i hold the hotkey down and queued too many events), only way to preemptively stop it was to end task from task manager. shift+ctrl+c DOES NOT work

script in question

def Handl(event):
    type("1")
    type("2")

Env.addHotkey(Key.F1, 0, Handl)

while True:
    wait(0.1)

Question information

Language:
English Edit question
Status:
Answered
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
RaiMan (raimund-hocke) said :
#2

what system?
what Java?
what version of SikuliX?

Revision history for this message
masuo (masuo-ohara) said :
#3

@kai yung ezra chua

I think you only misunderstand shift + alt + c as shift + ctrl + c.

Revision history for this message
RaiMan (raimund-hocke) said :
#4

@masuo: LOL - did not notice - very attentive :-))

Can you help with this problem?

Provide an answer of your own, or ask kai yung ezra chua for more information if necessary.

To post a message you must log in.