Previous | Index | Next |
Keyboard input source methods
currentKeyboardInputSourceID
ID of the current keyboard input source.
+ (NSString *)currentKeyboardInputSourceID
String containing the ID of the current keyboard input source.
Version 1.2.0
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"