(windows)
Arguments | Type | Description | Required | Default |
---|---|---|---|---|
text | string | String to type | yes | |
interval | duration | interval between key presses | no | Duration(miliseconds: 50) |
omitInvalid | bool | true to omit unsupported characters found in text,else an error is thrown for unsupported keys | no | false |
(windows)
Arguments | Type | Description | Required | Default |
---|---|---|---|---|
key | string | String representation of the key | yes |
(windows)
Arguments | Type | Description | Required | Default |
---|---|---|---|---|
key | string | String representation of the key | yes |
(windows)
Arguments | Type | Description | Required | Default |
---|---|---|---|---|
key | string | String representation of the key | yes | |
times | int | the amount of times to press the key | no | 1 |
interval | duration | Delay between each key press | no | Duration(miliseconds: 50) |
(windows)
Arguments | Type | Description | Required | Default |
---|---|---|---|---|
keys | list ‹string› | list of keys to press | yes | |
interval | duration | Delay between each key press | no | Duration(miliseconds: 50) |
(windows)
Return Type | point‹int› |
(windows)
Arguments | Type | Description | Required | Default |
---|---|---|---|---|
point | point‹int› | x,y co-ordinate to move the mouse cursor to | yes | |
duration | duration | the amount of time it takes to move the mouse cursor. If duration is zero mouse cursor is moved instantaneously. | no | Duration(miliseconds: 0) |
curve | curve | the curve function used if the duration is not zero | no | Curves.linear |
(windows)
Arguments | Type | Description | Required | Default |
---|---|---|---|---|
offset | size |
How far left (for negative values of
size.width ) or right (for positive
values of size.width ) / up (for
positive values of size.height ) or
down (for negative values of
size.height ) to move the mouse
cursor by
|
yes | |
duration | duration | the amount of time it takes to move the mouse cursor. If duration is zero mouse cursor is moved instantaneously. | no | Duration(miliseconds: 0) |
curve | curve | the curve function used if the duration is not zero | no | Curves.linear |
(windows)
Arguments | Type | Description | Required | Default |
---|---|---|---|---|
point | point‹int› | x,y co-ordinate to move the mouse cursor to | yes | |
button | MouseButton | the mouse button to press down while moving | yes | |
duration | duration | the amount of time it takes to move the mouse cursor. If duration is zero mouse cursor is moved instantaneously. | no | Duration(miliseconds: 0) |
curve | curve | the curve function used if the duration is not zero | no | Curves.linear |
(windows)
Arguments | Type | Description | Required | Default |
---|---|---|---|---|
offset | size |
How far left (for negative values of
size.width ) or right (for positive
values of size.width ) / up (for
positive values of size.height ) or
down (for negative values of
size.height ) to move the mouse
cursor by
|
yes | |
button | MouseButton | the mouse button to press down while moving | yes | |
duration | duration | the amount of time it takes to move the mouse cursor. If duration is zero mouse cursor is moved instantaneously. | no | Duration(miliseconds: 0) |
curve | curve | the curve function used if the duration is not zero | no | Curves.linear |
(windows)
Arguments | Type | Description | Required | Default |
---|---|---|---|---|
button | MouseButton | the mouse button to press | no | MouseButton.left |
(windows)
Arguments | Type | Description | Required | Default |
---|---|---|---|---|
button | MouseButton | the mouse button to release | no | MouseButton.left |
(windows)
Arguments | Type | Description | Required | Default |
---|---|---|---|---|
button | MouseButton | the mouse button to click | no | MouseButton.left |
clicks | int | the amount of times to press the key | no | 1 |
interval | duration | interval between key presses | no | Duration(miliseconds: 0) |
(windows)
Arguments | Type | Description | Required | Default |
---|---|---|---|---|
clicks | int | How much to scroll the mouse by positive (forwards / right), negative (backwards / left) | yes | |
axis | axis | Direction to scroll | no | axis.vertical |