How to know which is the current keyboard ?

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
jmburnod
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2729
Joined: Sat Dec 22, 2007 5:35 pm
Contact:

How to know which is the current keyboard ?

Post by jmburnod » Mon Jan 12, 2015 10:12 am

Hi All,
Is there a way to know which is the current keyboard (azerty,qwerty,qwertz) ?
Jean-Marc
https://alternatic.ch

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Re: How to know which is the current keyboard ?

Post by Mark » Mon Jan 12, 2015 12:04 pm

Hi Jean-Marc,

With AppleScript, VBScript or an external, it is possible to get the current input method. At least, this would tell you which keyboard the computer or iPhone thinks is being used. I did this on Mac, PC and iPhone some time ago, so I know it is possible.

Kind regards,

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

jmburnod
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2729
Joined: Sat Dec 22, 2007 5:35 pm
Contact:

Re: How to know which is the current keyboard ?

Post by jmburnod » Thu Jan 15, 2015 5:51 pm

Hi Mark,
Thanks again for help.
I can imagine find a way with applescript but it could be for OSX only.
I'm afraid I haven't got the capacity to use VB. :(
Kind regards
Jean-Marc
https://alternatic.ch

Post Reply