[Sikuli-driver] [Question #699919]: How to get the original script name from a compiled script ?
New question #699919 on SikuliX: https://answers.launchpad.net/sikuli/+question/699919 When testing in the IDE or running as xxx.sikuli, the script can get a reference to itself as getBundlePath(). But when it is compiled, that same getBundlePath() refers to a temp folder. How can I get the "xxx.sikuli" from a compiled jar ? -- You received this question notification because your team Sikuli Drivers is an answer contact for SikuliX. ___ 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 #699911]: how to pass parameters to a runnable jar ?
Question #699911 on SikuliX changed: https://answers.launchpad.net/sikuli/+question/699911 Status: Answered => Solved Laurent IZAC confirmed that the question is solved: Perfect. Thanks And it also works exactly like with the source folder (with --args). => this way there is not even the need to generate a runnable jar; the simple jar works just fine. -- You received this question notification because your team Sikuli Drivers is an answer contact for SikuliX. ___ 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 #699911]: how to pass parameters to a runnable jar ?
Question #699911 on SikuliX changed: https://answers.launchpad.net/sikuli/+question/699911 Status: Open => Answered RaiMan proposed the following answer: this works for me: --- wrapped script print sys.argv --- run as java -jar sikulixide.jar -r wrapped_script.jar -- parm parm1 "parm3 = 1" --- prints [u'/var/folders/pc/t43tqvr56xx7kxz3m6z5g4rwgn/T/sikulix17229118916186188772/jartest$py.class', u'parm', u'parm1', u'parm3 = 1'] -- You received this question notification because your team Sikuli Drivers is an answer contact for SikuliX. ___ 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 #699722]: Advanced image comparison
Question #699722 on SikuliX changed: https://answers.launchpad.net/sikuli/+question/699722 Status: Open => Expired Launchpad Janitor expired the question: This question was expired because it remained in the 'Open' state without activity for the last 15 days. -- You received this question notification because your team Sikuli Drivers is an answer contact for SikuliX. ___ 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 #699911]: how to pass parameters to a runnable jar ?
Question #699911 on SikuliX changed: https://answers.launchpad.net/sikuli/+question/699911 Description changed to: When executed as a runnable jar with a command line like: > java -jar myCompiledScript.jar myParam It does not work: I get the following error : [Error] given sikulixjar not found: C:\Users\\myParam It seems that only -v (verbose mode) is accepted... I also tried "--" as mentionned here : https://sikulix-2014.readthedocs.io/en/latest/faq/010-command-line.html#command-line-options-intention-provide-user-parameters-for-running-scripts But with no success. How can I provide parameter values to my compiled script ? -- You received this question notification because your team Sikuli Drivers is an answer contact for SikuliX. ___ 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 #699911]: how to pass parameters to a runnable jar ?
Question #699911 on SikuliX changed: https://answers.launchpad.net/sikuli/+question/699911 Description changed to: When executed as a runnable jar with a command line like: > java -jar myCompiledScript.jar myParam It does not work: I get the following error : [Error] given sikulixjar not found: C:\Users\\myParam It seems that only -v (verbose mode) is accepted... How can I provide parameter values to my compiled script ? -- You received this question notification because your team Sikuli Drivers is an answer contact for SikuliX. ___ 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
[Sikuli-driver] [Question #699911]: how to pass parameters to a runnable jar ?
New question #699911 on SikuliX: https://answers.launchpad.net/sikuli/+question/699911 When executed as a runnable jar with a command line like: > java -jar myCompiledScript.jar myParam It does not work: I get the following error : [Error] given sikulixjar not found: C:\Users\\omyParam It seems that only -v (verbose mode) is accepted... How can I provide parameter values to my compiled script ? -- You received this question notification because your team Sikuli Drivers is an answer contact for SikuliX. ___ 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