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

Language:
English Edit question
Status:
Needs information
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Last query:
2021-04-05
Last reply:
2021-04-06
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.