Sikuli cannot be forced closed by shift+ctrl+c

Asked by kai yung ezra chua on 2020-08-03

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:
Sikuli Edit question
Assignee:
No assignee Edit question
Last query:
2020-08-03
Last reply:
2020-08-03
RaiMan (raimund-hocke) said : #2

what system?
what Java?
what version of SikuliX?

masuo (masuo-ohara) said : #3

@kai yung ezra chua

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

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.