Update README.md

This commit is contained in:
Clive Galway 2019-08-06 12:22:45 +01:00 committed by GitHub
parent 04054d5fe2
commit 0e217f6d3b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -301,9 +301,9 @@ Note that Absolute mouse move uses coordinates in the range 0..65535 which are N
#### Moving the Mouse Cursor #### Moving the Mouse Cursor
To move the mouse cursor to a specific screen or window coordinate, use: To move the mouse cursor to a specific screen or window coordinate, use:
`AHI.MoveCursor(<x>, <y> [, <coordMode>, <mouseId>])` `AHI.MoveCursor(<x>, <y> [, <coordMode>, <mouseId>])`
eg `AHI.MoveCursor(100, 200)` eg `AHI.MoveCursor(100, 200)` - move to 100, 200 Screen position using mouse ID 11
`AHI.MoveCursor(100, 200, "Screen")` `AHI.MoveCursor(100, 200, "Window")` - move to 100, 200 Window position using mouse ID 11
`AHI.MoveCursor(100, 200, "Screen", 12)` `AHI.MoveCursor(100, 200, , 12)` - move to 100, 200 Screen position using mouse ID 12
`coordMode` is optional and is the [CoordMode](https://www.autohotkey.com/docs/commands/CoordMode.htm) to use (Will switch back to current CoordMode after) - Defaults to "Screen". `coordMode` is optional and is the [CoordMode](https://www.autohotkey.com/docs/commands/CoordMode.htm) to use (Will switch back to current CoordMode after) - Defaults to "Screen".
`mouseId` is optional and the ID of the mouse to use (Defaults to ID 11 - the first mouse) `mouseId` is optional and the ID of the mouse to use (Defaults to ID 11 - the first mouse)