I have only created a folder on my desktop and added the sikulixide-2.0.4.jar in it and also the sikulixapi-2.0.4.jar (although this was possibly not necessary for the purpose of running the IDE). After I ran the sikulixide-2.0.4.jar and It directed me to a page telling me to get jython-standalone-2.7.1 -> so I did that, placed it in the base folder along with the IDE jar, reran the program and it didn't have any more error messages. I wrote the small script and when trying to run it it game me the mentioned error in the initial post. Then I searched for a solution, found out something about jruby-complete-9.2.0.0, so I added that in the folder along with the sikulixide-2.0.4 jar. After I ran the sikulixide-2.0.4.jar again it seems that the 2 jars jruby-complete-9.2.0.0 and jython-standalone-2.7.1 are missing from the folder but in the IDE if i go to Tools -> Extensions... I can see a message with them being installed. Attaching 2 screenshots for the base folder and the Extensions notification message.
If there is a problem with running the script as JavaScript, how can I run it with something else. That's just what it defaulted to. ** Attachment added: "Extensions" https://bugs.launchpad.net/sikuli/+bug/1872174/+attachment/5351869/+files/ExtensionsScreenshot.png -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/1872174 Title: [WIn10]Error when trying to run a script in SikulixIDE-2.0.4 Status in Sikuli: Opinion Bug description: 2.0.4-2020-03-14_08:01/Windows10.0/Java11(64)11.0.3+12-LTS Hi, I am trying to make a simple script using the IDE to evaluate the feasibility of this tool to my testing needs for interacting with a windows security pop-up. The script is this one: click("1586590464985.png") wait("win10search.png") type("calc"+Key.ENTER) When I run the script from the IDE using the Play button, I get the following error message: javax.script.ScriptException: ReferenceError: "Commands" is not defined in nashorn:mozilla_compat.js at line number 69 If you need more info, please let me know what I need to do and how I can help. Regards, Petru To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/1872174/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~sikuli-driver Post to : [email protected] Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp

