joeyhoer/clickdrag

Thank you for help me a lot, but there is a question when I run it.

Opened this issue · 1 comments

Hello, Joey. I changed your code and have well performence in playground, but I could not run it in Xcode project. There is my problem:
I can successedly run it and move the censor, however I could not click it by programming. It seems be skipped. Can you help me? Thanks.

I face same issue and still cant find solution. The CGEvent posts on Playground but it doesn't on a macos App project. I know it is possible to programatically control the mouse using MacOs App Project but I just don't know how. Is the Internet dead or is Google unable to get me the result I search for?