New question #646890 on Sikuli:
https://answers.launchpad.net/sikuli/+question/646890

this is the code I'm working with.
"ml = Env.getMouseLocation()
dragDrop(Env.getMouseLocation(),Location(ml.getX()+centerX\2,ml.getY()+centerY/2))
 #Center is X607 Y548"

centerX = 607
so it should be whatever the number that comes from the mouses X location plus 
607 divided by two.
currently it's adding them together but not dividing by two.
I've played around with the brackets, nothing seems to be working.

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

_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to     : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to