← Back to team overview

sikuli-driver team mailing list archive

[Bug 1251155] Re: [1.0.1] type(Key.MINUS) return an error

 

** Changed in: sikuli
   Importance: High => Critical

** Summary changed:

- [1.0.1] type(Key.MINUS) return an error
+ [1.0.1] type(Key.MINUS) return an error --- fixed in 1.1.0

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

Title:
  [1.0.1] type(Key.MINUS) return an error --- fixed in 1.1.0

Status in Sikuli:
  Fix Committed

Bug description:
  Hello.

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

  -- Problem ------------------------------
  type(Key.MINUS) doesn't work and return a java.lang.IllegalArgumentException
  type(" - ") is doing the same.

  -- Code ---------------------------------
  # -*-coding:Utf-8 -*
  print "Hello"
  type("abc" + Key.MINUS)
  print "Goodbye"

  -- display ------------------------------
  Hello
  [log] TYPE "abc#NSUB."
  [error] script [ test_key_min ] stopped with error in line 3
  [error] java.lang.IllegalArgumentException ( java.lang.IllegalArgumentException: Invalid key code )

  Regards.

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


References