Re: Key down (or up) events
Re: Key down (or up) events
- Subject: Re: Key down (or up) events
- From: Håvard Graudo <email@hidden>
- Date: Wed, 06 Jul 2016 07:49:52 +0200
I fully understand your concern. I found the source after some digging in some old, long forgotten folders. So feel free to compile your own. :-)
https://filer.inkognito.no/_p5zQyo0TN2E17R
Håvard
>> Unfortunately this would require installation of third party software that I cannot vet as the file has been precompiled and is without any notes. For my own usage it looks like it would fit the requirements.
>>
>> JBS
> 5. jul. 2016 kl. 16.52 skrev Håvard Graudo <email@hidden>:
>
> Here is another solution, if you also need to support older OSes. I have used this at least since 10.6. (probably 10.5) and up to 10.11.
>
> Download and put this somewhere.
> https://filer.inkognito.no/_o8n0OAOhF2n17R
>
> Call it and it will return a string of the keys down. Example:
>
> set modKeys to do shell script (quoted form of "/Library/Application Support/ScriptLibs/getkeys")
> —> "shift control option command capslock fn”
>
> It ignores other keys
>
> Have used it for years, but could not find the source file atm, but if I dig a bit deeper I probably would – you may prefer to compile it yourself.
>
> Håvard
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden