sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #25414
Re: [Question #247349]: [1.0.1] IDE: Error when copy pasting images
Question #247349 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/247349
RaiMan proposed the following answer:
Ok, understood - I will check a bit deeper.
but why don't you use variables:
img1 = "some-image.png"
if exists(img1) …
… this is the usual way, to write flexible code: one resource in one
place and only references to it in others.
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.