BlueM / cliclick

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

It doesn't seem to work on Xcode, I don't know if I formatted it wrong #156

Closed BrettDean closed 2 years ago

BrettDean commented 2 years ago

func leftclick(){ let task = Process() task.launchPath = "/usr/local/bin/cliclick" task.arguments = ["tc:33,38"] task.launch() task.waitUntilExit() } leftclick()

BrettDean commented 2 years ago

Use shell, and then give the appropriate permissions in the security and privacy--accessibility