Xojo Conferences
XDCMay2019MiamiUSA

[MBS] Get OS X "Input Source" selection as English language (MBS Xojo Plugin Mailinglist archive)

Back to the thread list
Previous thread: [MBS] Writing in the iOS database
Next thread: [MBS] Re: multiple devices with Windows MIDI ?


Re: [MBS] PortMIDI questions   -   Garth Hjelte
  [MBS] Get OS X "Input Source" selection as English language   -   Mark Franken
   Re: [MBS] Get OS X "Input Source" selection as English language   -   Mark Franken
   Re: [MBS] Get OS X "Input Source" selection as English language   -   Christian Schmitz

[MBS] Get OS X "Input Source" selection as English language
Date: 03.04.12 08:48 (Tue, 3 Apr 2012 17:48:58 +1000)
From: Mark Franken
Hi all,

Is there a way to find out what the "Input Source" is set to in the main menu bar? i.e. "British" or "German"... I need to know as an AppleScript I use sends keystrokes to an application and this only works when setup for an English "Input Source".

Also, can someone tell me if the names of the languages changes when the base language is different... i.e. does "German" change to "Deutsch" when setup in German? If so, would there be a better way to find out if the "Input Source" is set to an English language?

Many thanks,

Mark







_______________________________________________
Mbsplugins_monkeybreadsoftware.info mailing list
<email address removed>
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

Re: [MBS] Get OS X "Input Source" selection as English language
Date: 04.04.12 04:35 (Wed, 4 Apr 2012 13:35:36 +1000)
From: Mark Franken

On 03/04/2012, at 6:43 PM, Christian Schmitz wrote:
>
> Well, if you know the API from Apple, I may be able to add a plugin function.
>

Thanks. I found a way to avoid this altogether by sending Key Codes instead of Keystrokes.

Regards,

Mark

_______________________________________________
Mbsplugins_monkeybreadsoftware.info mailing list
<email address removed>
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

Re: [MBS] Get OS X "Input Source" selection as English language
Date: 03.04.12 09:43 (Tue, 3 Apr 2012 10:43:50 +0200)
From: Christian Schmitz

Am 03.04.2012 um 09:48 schrieb Mark Franken:

> Hi all,
>
> Is there a way to find out what the "Input Source" is set to in the main menu bar? i.e. "British" or "German"... I need to know as an AppleScript I use sends keystrokes to an application and this only works when setup for an English "Input Source".


Well, if you know the API from Apple, I may be able to add a plugin function.

Greetings
Christian