Previous Index Next

BridgePlus.framework, SMSForder Class Methods

Category

Keyboard input source methods

Method

availableInputSourceIDs

Summary

Lists the IDs of the enabled input sources.

Signature

+ (NSArray *)availableInputSourceIDs

Parameters

 

Result

Array of IDs of the enabled input sources

Availability

Version 1.2.0

Notes

 

Sample

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"}


Click here to open script in a script editor