Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data MouseButton
- moveTo :: Integer -> Integer -> IO ()
- moveToDuration :: Integer -> Integer -> Double -> IO ()
- moveRel :: Integer -> Integer -> IO ()
- moveRelDuration :: Integer -> Integer -> Double -> IO ()
- click :: MouseButton -> IO ()
- leftClick :: IO ()
- doubleClick :: IO ()
- tripleClick :: IO ()
- rightClick :: IO ()
- middleClick :: IO ()
- moveAndClick :: Integer -> Integer -> IO ()
- drag :: Integer -> Integer -> IO ()
- dragDuration :: Integer -> Integer -> Double -> IO ()
- dragTo :: Integer -> Integer -> IO ()
- dragToDuration :: Integer -> Integer -> Double -> IO ()
- dragRel :: Integer -> Integer -> IO ()
- dragRelDuration :: Integer -> Integer -> Double -> IO ()
- scroll :: Integer -> IO ()
- mouseDown :: IO ()
- mouseUp :: IO ()
Documentation
data MouseButton Source #
Instances
ToPy MouseButton Source # | |
Defined in AutoGUI.Mouse toPy :: MouseButton -> IO SomeObject # |
moveToDuration :: Integer -> Integer -> Double -> IO () Source #
Move the mouse to an (x, y) position, over a number of seconds
moveRelDuration :: Integer -> Integer -> Double -> IO () Source #
Move the mouse relative to where it is now, over a number of seconds
click :: MouseButton -> IO () Source #
Click a specified mouse button
doubleClick :: IO () Source #
Double click the mouse
tripleClick :: IO () Source #
Triple click the mouse
rightClick :: IO () Source #
Right click the mouse
middleClick :: IO () Source #
Middle click the mouse
moveAndClick :: Integer -> Integer -> IO () Source #
Move the mouse to some (x, y) position and click there
dragDuration :: Integer -> Integer -> Double -> IO () Source #
Clicks and drags the mouse through a motion of (x, y), over a number of seconds
dragToDuration :: Integer -> Integer -> Double -> IO () Source #
Clicks and drags the mouse to the position (x, y), over a number of seconds
dragRel :: Integer -> Integer -> IO () Source #
Clicks and drags the mouse through a motion of (x, y)