Return value to command line
Asked by
Peter Weller
Is it possible to run a script from command line AND return some value?
I want to run my script from another Application and return the coordinates that sikuli finds to it.
Example:
I run "Sikuli-IDE.exe test.skl"
the script does the following:
searches for an image
x = find("image")
and return the x and y coordinates to the command line
return x.get(X) + " - " + x.getY();
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Peter Weller
- Solved:
- Last query:
- Last reply:
To post a message you must log in.