Difference between revisions of "UO.Click"
From OpenEUO
Line 1: | Line 1: | ||
− | '''EUOX | + | '''EUOX Equivalent:''' Click [[http://wiki.easyuo.com/index.php/Click]] |
'''Synopsis:''' UO.Click(nX,nY,bLeft,bDown,bUp,bMC) | '''Synopsis:''' UO.Click(nX,nY,bLeft,bDown,bUp,bMC) |
Latest revision as of 06:19, 19 July 2011
EUOX Equivalent: Click [[1]]
Synopsis: UO.Click(nX,nY,bLeft,bDown,bUp,bMC)
Definition: Mimics a click of the mouse in a specific position on the screen. So if you want to click something, the mouse button should go down and up. If you want to drag something, the mouse button should only go down but not up. Dropping means only up.
nX = x screen coords nY = y screen coords bLeft = true/false (true will left click, false will right click) bDown= true/false (true will "push" the mouse button down, false will do nothing) bUp = true/false (true will "lift/release" the mouse button, false will do nothing) bMc = true/false (true will move the cursor, false will not)
Examples:
--will right click at screen coords 400x 300y UO.Click(400,300,false,true,true,false) --Moving an item UO.Click(x1,y1,true,true,false,true) UO.Click(x2,y2,true,false,true,true)
(Original Source:Swift74d[[2]])