othyn / macos-auto-clicker

A simple auto clicker for macOS Big Sur, Monterey, Ventura and Sonoma.
MIT License
208 stars 24 forks source link

Notifications #64

Closed sineld closed 1 year ago

sineld commented 1 year ago

Description

Wouldn't it be great if there was an optional feature to display a notification when the process begins and ends?

Desired Behavior

Notifications

Additional Context

No response

othyn commented 1 year ago

Great suggestion! I'll take a look at this when I'm next looking at the project.

In the meantime, PR's are always welcome 😉

AnonymousAlt0 commented 1 year ago

I could have a look at this over the weekend.

sineld commented 1 year ago

I use enable and disable too much. I'd be a very handy feature for me. I hope your reliese it soon. Thanks.

othyn commented 1 year ago

I could have a look at this over the weekend.

Happy to accept PR's on this! From playing around with the notification API on iOS in Swift, it seems fairly simple to setup a wrapper and trigger them on device. Hopefully that experience translates well to macOS.

othyn commented 1 year ago

This will be in the next release, I'll fire one out now

sineld commented 1 year ago

Thank you for the prompt update, everyone.

I have downloaded the latest version and granted the necessary permissions, but it is not working as expected. I even tried removing it completely, restarting macOS, and reinstalling it, but the issue persists.

2023-07-01 16-16-54 Auto Clicker

AnonymousAlt0 commented 1 year ago

I think I just experienced the same problem you're having. I was able to fix it by removing Auto Clicker from Accessibility settings outlined below, then opening the app and it worked as expected.

SCR-20230701-niyw
sineld commented 1 year ago

@AnonymousAlt0 I got it worked as you directed me, thanks. Notifications pops up when started and when finished but no notifications is poping up on manual stop.

othyn commented 1 year ago

@AnonymousAlt0 super, thank you for debugging that - it would have been my suggestion too. Not entirely sure why it was necessary as the app identifier hasn't changed... only fix could be to try and do a permissions reset on application load.

@sineld thats by intention at the moment, notifications are only fired at specified automated start/stop points.

@AnonymousAlt0 that does raise an important consideration though, if the user cancels the timer, are notifications cleared?