MouseClickDrag 2nd and 3rd parameter can't be omitted Topic is solved

Report problems with documented functionality
ntepa
Posts: 432
Joined: 19 Oct 2022, 20:52

MouseClickDrag 2nd and 3rd parameter can't be omitted

30 Aug 2023, 15:20

The documentation for parameter X1, Y1 says:
If omitted, the mouse cursor's current position is used.
I tried to omit the parameters like this:

Code: Select all

a::{
    SendMode "Event"
    MouseClickDrag "L",,, 900, 500, 5
}
But it throws the following error:
ValueError: Parameter #2 of MouseClickDrag must not be omitted in this case.
Function: MouseClickDrag
In v1.1, this works:

Code: Select all

a::MouseClickDrag, L,,, 900, 500, 5

Return to “Bug Reports”

Who is online

Users browsing this forum: No registered users and 9 guests