Re: [Sikuli-driver] [Question #673707]: [1.1.4] using Javascript - how to?

2018-09-11 Thread BrazilMac
Question #673707 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/673707

BrazilMac posted a new comment:
I will check it out and come back :D

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #673707]: [1.1.4] using Javascript - how to?

2018-09-11 Thread RaiMan
Question #673707 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/673707

Description changed to:
DOCS: 
https://sikulix-2014.readthedocs.io/en/latest/scenarios.html#using-javascript

--
Hi Everyone,

I am new to SIkuli, I managed to code a simple script using the IDE...I
am a proficiend JS/Node dev and Im wondering if there are any examples
of a script written in pure javascript, is it possible? And if so, whats
the approach for call all the functions as in the IDE, do I need to make
any "require" and such? I needed some more advanced stuff but a bit
stuck here

Thanks again

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #673707]: [1.1.4] using Javascript - how to?

2018-09-11 Thread RaiMan
Question #673707 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/673707

RaiMan proposed the following answer:
LOL ---  just realized, that the basics are already in the docs:
https://sikulix-2014.readthedocs.io/en/latest/scenarios.html#using-javascript

If you want to dig into the gory details - come back.
Ideas and contributions are highly welcome ;-)

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #673707]: [1.1.4] using Javascript - how to?

2018-09-11 Thread BrazilMac
Question #673707 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/673707

BrazilMac posted a new comment:
Thanks Raiman,

As I plan to run this on Linux, I am running 1.1.3 instead. On my Ubuntu
16 box I have Java

OpenJDK 1.8.0_181
OpenJDK 64-Bit Server VM (build 25.181-b13, mixed mode)

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #673707]: [1.1.4] using Javascript - how to?

2018-09-11 Thread RaiMan
Question #673707 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/673707

RaiMan proposed the following answer:
Uuuups, too fast ;-)

I just realized: Java 11 does not have the Nashorn (JavaScript) engine anymore.
Since I will completely switch to Java 11, I have a problem now.

An option for you is to stay with Java 10, until another solution is
available (GraalVM, Rhino, ...).

But coming from the Node environment: Do not expect too much, only the
basic language elements are supported. The rest is done at the Java
level (and of course nothing related to DOM and all the web stuff).

May be it is better to decide for either Python or Ruby as scripting
language (the syntax structure of Ruby might be more familiar for
JavaScript users).

Nevertheless, I will be back with comment #1 asap

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #673707]: [1.1.4] using Javascript - how to?

2018-09-11 Thread BrazilMac
Question #673707 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/673707

BrazilMac posted a new comment:
Hi RaiMan, thanks so much!!! This would be such great help

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #673707]: [1.1.4] using Javascript - how to?

2018-09-11 Thread RaiMan
Question #673707 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/673707

Summary changed to:
[1.1.4] using Javascript - how to?

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp