Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for key stroke #4

Open
alain-sarti opened this issue May 10, 2016 · 3 comments
Open

Support for key stroke #4

alain-sarti opened this issue May 10, 2016 · 3 comments

Comments

@alain-sarti
Copy link

I really enjoy being able to use my flics with my mac, so thank you for that!

My only problem: the delay to press a key (in my case space) with the help of automator is quite big. So a direct support for key strokes in addition to running scripts would be awesome!

@AntonMeier
Copy link
Contributor

So, launching Automator workflows is notorious for being slow. Furthermore, if you are triggering the workflow on a "Click" event then that would also add a delay.

For events that you want to be quick you should use the "Button down" event since that gives you the best response time. Also, try and use shell scripts instead of workflows if you can. If you really need to lower the latency even further then you can try and check the "low latency" option (but know that it consumes more power).

Take a look at the script called keynotePreviousSlide.sh that I have added to the Keynote folder. That basically only simulates a keypress "p". Try that and see how it goes and then modify accordingly for your own purpose.

@AntonMeier
Copy link
Contributor

Hehe, well that script actually invokes an AppleScript, but you get the idea :P

@alain-sarti
Copy link
Author

Thanks for the hint. I'll have to try that out, the first attempt didn't work but that shouldn't be too hard ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants