sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #37168
Re: [Question #288407]: JRbuy script and referencing other Jruby scripts : is it possible and if so how ?
Question #288407 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/288407
Antoine Delecourt posted a new comment:
in fact its point 2.
I've use this woraround :
in calling script:
# include the second script
require 'D:\Sikuli\Scripts\SecondScript.sikuli\SecondScript.rb'
# add the path of the script to find images
ImagePath.add("D:\\Sikuli\\Scripts\\SecondScript.sikuli\\")
# call a method in second script
_launchscript
in second script:
def _launchscript
clic(...)
wait(...)
end
no better way ? (not including images folder & not setting require)
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.