← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #253810]: [1.0.1] Java: running a Sikuli script (Jython)

 

Question #253810 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/253810

    Status: Open => Answered

RaiMan proposed the following answer:
as far as I understand JavaScript:

    $array = new Array("","");

the brackets are used to define associative arrays (key:value)

One more thing:
to avoid any problems (currently this is still mandatory) the .py inside the .sikuli should have the same name as the .sikuli:
test.sikuli\test.py

Are single backslashes allowed in JavaScript Strings or have they to be
escaped by doubling like in Java or Python - not sure?

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