← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #697737]: Copy Pattern Object

 

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) # modify the filename

somePattern.setFilename(newFilename)

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