← Back to team overview

sikuli-driver team mailing list archive

[Question #696392]: importing images from two differs locations

 

New question #696392 on SikuliX:
https://answers.launchpad.net/sikuli/+question/696392

I am trying to use images from two image path in one script. I used getbundlepath() but everytime its point to parent images, how to switch control from parent folder images to child folder images.
I have two scripts, Script A & script B . I am importing methods from script A into Script B when I execute script B it will work fine for script A methods but when control come to Script B methods it will search images into script A location only. SO I tried to explicitly set imagepath for script B using setBundlePath(getBundlePath()) but again its failed because getBundlePath() also point to script A.

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