I have a block of code that returns the current value of input language
tell process "SystemUIServer" to
get the value of the first menu bar item of menu bar 1
whose description is "text input"
tell end
Now I want to check the result with IF Else but I don't know how I should do it!
Thanks