Previous | Index | Next |
Keyboard input source methods
availableInputSourceIDs
Lists the IDs of the enabled input sources.
+ (NSArray *)availableInputSourceIDs
Array of IDs of the enabled input sources
Version 1.2.0
use scripting additions
use framework "Foundation"
use script "BridgePlus"
load framework
set theResult to current application's SMSForder's availableInputSourceIDs()
ASify from theResult
--> {"com.apple.keylayout.US", "com.apple.keylayout.Australian", "com.apple.keylayout.USInternational-PC", "com.apple.CharacterPaletteIM", "com.apple.KeyboardViewer", "com.apple.keylayout.UnicodeHexInput", "com.apple.inputmethod.ironwood", "com.apple.PressAndHold"}
theResult as list
--> {"com.apple.keylayout.US", "com.apple.keylayout.Australian", "com.apple.keylayout.USInternational-PC", "com.apple.CharacterPaletteIM", "com.apple.KeyboardViewer", "com.apple.keylayout.UnicodeHexInput", "com.apple.inputmethod.ironwood", "com.apple.PressAndHold"}