BlueM / cliclick

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

wait function can set with specific time? #92

Closed dnup closed 4 years ago

dnup commented 5 years ago

eg.

cliclick wait 23:59:59 kp:enter

BlueM commented 5 years ago

There is no support for anything like this in cliclick. But you can combine with the usual other shell scripting approaches to achieve the same result:

while [[ "$(date '+%H:%M:%S')" < "23:59:59" ]]; sleep 1; done; cliclick kp:enter