Keyboard triggers anywhere?

Anything beyond the basics in using the LiveCode language. Share your handlers, functions and magic here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
thatkeith
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 346
Joined: Mon Mar 01, 2010 7:13 pm
Location: London, UK
Contact:

Keyboard triggers anywhere?

Post by thatkeith » Tue Mar 21, 2017 3:54 pm

I have a distant memory of making a little thing (HC? SC? LC?) that played sounds whenever the keyboard was used, and ran in the background. Yes, the corny old typewriter sound simulation effect – a silly but fun example of a simple app. I can make something easily enough if the point is to run in the foreground, but is it possible in LC to do this so it'll play sounds on typing events when it's in the background?

k
Technical Writer, Meta
University Lecturer
Technical Editor, MacUser (1996-2015)
360 VR media specialist

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 9648
Joined: Wed May 06, 2009 2:28 pm
Location: New York, NY

Re: Keyboard triggers anywhere?

Post by dunbarx » Tue Mar 21, 2017 5:35 pm

I could be wrong, but I do not think that LC receives messages from the system when another app is in front. It surely does not from another app itself. So if no messages, no dice.

Someone may come in and say different.

Craig Newman

Post Reply

Return to “Talking LiveCode”