BlueM / cliclick

macOS CLI tool for emulating mouse and keyboard events
https://www.bluem.net
Other
1.59k stars 116 forks source link

Trouble sending to windowed application #166

Closed HawkMan572 closed 1 year ago

HawkMan572 commented 1 year ago

I'm trying to send key presses to a specific window but it does not work.

cliclick w:900 kp:arrow-up "-d /Users/xxxx/Library/Application Support/xxxx/xxxx”

BlueM commented 1 year ago

Cliclick doesn’t even know what a window is, it merely works with screen coordinates. In addition, -d does not expect a path as argument, see cliclick -h.