importing images from two differs locations

Asked by Piyush Mankare on 2021-04-05

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.

Question information

English Edit question
Needs information
SikuliX Edit question
No assignee Edit question
Last query:
Last reply:
RaiMan (raimund-hocke) said : #1

what version of SikuliX?

Piyush Mankare (pmankare) said : #2

Sikulix 2.0.4

Can you help with this problem?

Provide an answer of your own, or ask Piyush Mankare for more information if necessary.

To post a message you must log in.