lucassklp / Desktop.Robot

A library used to control your mouse and keyboard programmatically in .NET Core
MIT License
139 stars 23 forks source link

Mouse drag on OSX #35

Open GuruGurra opened 1 year ago

GuruGurra commented 1 year ago

Is there a difference between MouseMove and MouseDrag in OSX?

I hover over an item (e.g., a file in the explorer/finder) and execute the sequence:

robot.MouseDown() robot.MouseMove() robot.MouseUp()

On Windows, the item is selected, and when the mouse is moved, the item is moved with it. On macOS, the item is selected, and when the mouse is moved, the item is left in place.