We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
hs.eventtap.event.newSystemKeyEvent
I use this function to press system/media keys:
function systemKey(key, repeatDelay) -- REPEAT_FASTER = 10 * 1000 REPEAT_FASTER = 5 hs.eventtap.event.newSystemKeyEvent(key, true):post() if repeatDelay <= 0 then repeatDelay = REPEAT_FASTER end hs.timer.usleep(repeatDelay) hs.eventtap.event.newSystemKeyEvent(key, false):post() end
However, using systemKey("NEXT") keeps going to the next file indefintely.
systemKey("NEXT")
The text was updated successfully, but these errors were encountered:
Restarting solved my issue.
Sorry, something went wrong.
No branches or pull requests
I use this function to press system/media keys:
However, using
systemKey("NEXT")
keeps going to the next file indefintely.The text was updated successfully, but these errors were encountered: