sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #11197
Re: [Question #200504]: How can i integrate sikuli IDE to my C# application.
Question #200504 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/200504
Status: Open => Answered
RaiMan proposed the following answer:
Ok, then with the current implementation of Sikuli IDE and the fact that
your app is based on C#, you either have to decide, to give the users
access to the Sikuli IDE or you have to setup your own GUI.
I do not think, that it makes sense, to modify the sources of Sikuli
IDE, to adapt it to your needs and make an interface, to access the Java
features in C#.
Your decision depends on the level of "freedom" the users should have to make scripts:
-- 1. full featured Jython scripts
you should use the Sikuli IDE (might be with some minor mods, to give it a look and feel, that fits with your app)
-- 2. scripts with a restricted set of Jython and or Sikuli features
This is the area, were it makes sense, to think about either modifying Sikuli IDE massively or make your own GUI
-- 3. scripts with a given set of features, that are transposed internally into Sikuli scripts (a private DSL)
only possible with your own GUI. all needed Sikuli features are available in sikuli-script.jar, no need for sikuli-ide.jar.
BTW: May be you know that already:
To be independent from the Sikuli IDE stuff at runtime, you should use
java -jar path-to-sikuli-script.jar path-to-your-script.sikuli
depending on your scripts and usage of Sikuli features, some additional
Java environment parameters might be needed.
With this, the only things you need, is sikuli-script.jar and the native
libraries from the package.
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.