Page 1 of 1

Keystroke capture | Volume control

Posted: Sun Sep 23, 2018 8:35 am
by maplecommerce
Hello livecoders,

Does anyone know if LiveCode on Mac can capture system level keystrokes?

i.e. I'd like to create a LiveCode system menu app that can be notified when keys are typed, even in apps outside of the LiveCode application.

In addition, can LiveCode be used to control the system level settings (e.g. volume) as a registered "Accessibility" app?


Thanks!


Ivan

Re: Keystroke capture | Volume control

Posted: Sun Sep 23, 2018 10:02 am
by Klaus
Hi Ivan,
Does anyone know if LiveCode on Mac can capture system level keystrokes?
no, it can't.
In addition, can LiveCode be used to control the system level settings (e.g. volume) as a registered "Accessibility" app?
LC can "set the playloudness to X", which will control the system volume, if you do not address a player object. But that is all LC can control on system level.

But you can surely control a lot of things with AppleScript from inside of LC!


Best

Klaus

P.S.
I doubt however that this will qualify your LC standalone as a registered "Accessibility" app.