Keystroke capture | Volume control

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
maplecommerce
Posts: 5
Joined: Fri Jan 23, 2015 2:37 am

Keystroke capture | Volume control

Post by maplecommerce » Sun Sep 23, 2018 8:35 am

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

Klaus
Posts: 13824
Joined: Sat Apr 08, 2006 8:41 am
Location: Germany
Contact:

Re: Keystroke capture | Volume control

Post by Klaus » Sun Sep 23, 2018 10:02 am

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.

Post Reply

Return to “Getting Started with LiveCode - Complete Beginners”