Open olliebaum opened 6 years ago
According to the author of Cursorcerer, the approach used is the one described in http://web.archive.org/web/20150609013355/http://lists.apple.com:80/archives/carbon-dev/2006/Jan/msg00555.html
The “inventor” of this method describes it as “might stop working at any time” (2006) and a “tweaky way of doing this”, which is why I am not interested in investigating this. However, if there is a more modern an reliable way of hiding the mouse, I would of course be open to a PR.
Ah, fair enough. That makes a lot of sense. It's a shame there's no more reliable way to do this. But thank you for the quick response. Maybe I'll have a go at learning some objective C and hacking the code you sent into some of my scripts. :)
On Mar 18, 2018 1:46 PM, "Carsten Blüm" notifications@github.com wrote:
According to the author of Cursorcerer, the approach used is the one described in http://web.archive.org/web/20150609013355/http://lists. apple.com:80/archives/carbon-dev/2006/Jan/msg00555.html
The “inventor” of this method describes it as “might stop working at any time” (2006) and a “tweaky way of doing this”, which is why I am not interested in investigating this. However, if there is a more modern an reliable way of hiding the mouse, I would of course be open to a PR.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/BlueM/cliclick/issues/73#issuecomment-374000192, or mute the thread https://github.com/notifications/unsubscribe-auth/AD3HankHgrIZjOhgB5-Wa3DFvlUhVwVUks5tfmRegaJpZM4SvKhx .
I sometimes use cursorcerer to hide/show my mouse while cliclick runs because I find the mouse movements distracting. But it's a bit hacky and sometimes my mouse ends up invisible after my script has run!
So I thought it would be cool if there were a -i(nvisible) option in cliclick that would hide the mouse during the following commands and then reshow it once they were done.
Also it would be useful for cliclick to hide and show the mouse with commands anyway (maybe "hd" and "sh") so that it could be used to script in other situations too.