← Back to team overview

sikuli-driver team mailing list archive

[Question #261193]: [1.1.0]TypeError was occured at select() (when chose Ruby as scripting language)

 

New question #261193 on Sikuli:
https://answers.launchpad.net/sikuli/+question/261193

I setuped SikuliXIDE 1.1.0(2015-01-16_01:00nightly).
Then I chose Ruby as scripting language.
OS:Windows7(32bit)

I am interested in a new function select().
I wrote the following sentence.

sample.rb
  items = ["model-a","model-b","model-c"]
  selected = select("model:","Select model",items)

When I run this script, TypeError was occured.
[error] (TypeError) wrong argument type String (expected Array)

Could you tell me where the cause is?

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.