Public bug reported:

Hello !

-- System -------------------------------
 - Windows7 - 32 bits
 - Sikuli : 1.0.1
 - Java : 1.7.45


-- Code ----------------------------------
def interrupt(event):
    print "++ point E"
    exit(0)

# Starting the test:
print "++ point A"
Env.addHotkey(Key.F1, KeyModifier.CTRL, interrupt)
print "++ point B"
sleep(5)
print "++ point C"


-- Result --------------------------------
when I launch this code and type Ctrl + F1, sikuli close without any error 
message.
I try with different keys, but it's doing the same.

Any workAround ?

Regards.

** Affects: sikuli
     Importance: Undecided
         Status: Invalid

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1260317

Title:
  hotKey doesn't work on windows

Status in Sikuli:
  Invalid

Bug description:
  Hello !

  -- System -------------------------------
   - Windows7 - 32 bits
   - Sikuli : 1.0.1
   - Java : 1.7.45

  
  -- Code ----------------------------------
  def interrupt(event):
      print "++ point E"
      exit(0)

  # Starting the test:
  print "++ point A"
  Env.addHotkey(Key.F1, KeyModifier.CTRL, interrupt)
  print "++ point B"
  sleep(5)
  print "++ point C"

  
  -- Result --------------------------------
  when I launch this code and type Ctrl + F1, sikuli close without any error 
message.
  I try with different keys, but it's doing the same.

  Any workAround ?

  Regards.

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1260317/+subscriptions

_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to