Skip to content

[v2] MouseClickDrag required arguements #677

@Ranzer1255

Description

@Ranzer1255

Is your issue related to a problem? Please describe.
In AHK version 2.0.6 and lower, the MouseClickDrag function required X1 and Y1 as arguments. however this was a Bug and as of 2.0.7+ that has been fixed. currently the error checker shows this as an error even though i am forcing v2.0.7+ at the file header

Describe the solution you'd like
i would like the error check to not show this as an error if the file header's #Requires line has version 2.0.7 or greater listed as the code runs as intended on those versions

Describe alternatives you've considered
i have been ignoring the error.

Additional context
Quote from the AHK v2 MouseClickDrag Documentation

X1, Y1
Type: Integer

Specify the X and Y coordinates of the drag's starting position (the mouse will be moved to these coordinates right before the drag is started). Coordinates are relative to the active window's client area unless CoordMode was used to change that.

[v2.0.7+]: If both X1 and Y1 are omitted, the mouse cursor's current position is used. Due to a bug, X1 and Y1 were mandatory in previous versions.

Metadata

Metadata

Assignees

Labels

AHK v2exclusive to AHK v2

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions