Previous Index Next

BridgePlus.framework, SMSForder Class Methods

Category

Keyboard input source methods

Method

currentKeyboardInputSourceID

Summary

ID of the current keyboard input source.

Signature

+ (NSString *)currentKeyboardInputSourceID

Parameters

 

Result

String containing the ID of the current keyboard input source.

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 currentKeyboardInputSourceID()

ASify from theResult

--> "com.apple.keylayout.Australian"

theResult as text

--> "com.apple.keylayout.Australian"


Click here to open script in a script editor