sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #16025
[Question #221888]: Error when attempting to move a window
New question #221888 on Sikuli:
https://answers.launchpad.net/sikuli/+question/221888
I am trying to move a window for one screen to another using the following code:
for x in range(1):
t = (img)
x = capture(t.getX(), t.getY(), t.getW(), t.getH())
dragDrop(t, [t.x+1025, t.y])
This keeps giving me the following error:
AttributeError: 'str' object has no attribute 'getX'
I have been searching for an answer, but haven't found anything that will get me past this :( I have tried a few other ways I thought would work, but keep getting the same error (or some variation of it)
Any help to point me in the right direction would be appreciated.
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.