Re: [Sikuli-driver] [Question #697737]: Copy Pattern Object

2021-06-27 Thread Jeff_Vallis
Question #697737 on SikuliX changed: https://answers.launchpad.net/sikuli/+question/697737 Status: Answered => Solved Jeff_Vallis confirmed that the question is solved: Thanx just what I wanted -- You received this question notification because your team Sikuli Drivers is an answer contact

Re: [Sikuli-driver] [Question #697737]: Copy Pattern Object

2021-06-26 Thread RaiMan
Question #697737 on SikuliX changed: https://answers.launchpad.net/sikuli/+question/697737 Status: Open => Answered RaiMan proposed the following answer: If I understand right, then you can do the following: currentName = somePattern.getFilename() newFilename = doSomethingWith(currentName)

[Sikuli-driver] [Question #697737]: Copy Pattern Object

2021-06-26 Thread Jeff_Vallis
New question #697737 on SikuliX: https://answers.launchpad.net/sikuli/+question/697737 I have images which I would like to list. and would like to replace the path of the image with some text v_User_Path = "Some stuff" so I tried v_Test = v_Image.replace(v_User_Path,"YourPath") Result