functions not known - SikulixIDE

Asked by Driss EL on 2020-01-01

There is some function that does not work in my laptop, as an example:
selectRegion(x,x,x,x) or highLight(x)

I have the same error each time, the only thing that change is the name of the function:
[error] Runner: not possible: javax.script.ScriptException: TypeError: Region.selectRegion is not a function in <eval> at line number 1

SikulixIDE 1.1.3

Question information

Language:
English Edit question
Status:
Answered
For:
Sikuli Edit question
Assignee:
No assignee Edit question
Last query:
2020-01-01
Last reply:
2020-01-03
masuo (masuo-ohara) said : #1

What do you want to do by "x,x,x,x" ?
Read document about parameter.
https://sikulix-2014.readthedocs.io/en/latest/screen.html#Screen.selectRegion

Driss EL (defragiris) said : #2

x means numbers. In my case, I used selectRegion(0,0,100,100)

masuo (masuo-ohara) said : #3

If you want to specify coodinate, use Region instead of selectRegion . selectRegion does not have such interface.

Can you help with this problem?

Provide an answer of your own, or ask Driss EL for more information if necessary.

To post a message you must log in.