title: How to assign get value to a variable using AppleScript?
body: <p>How to assign value get from <code>first menu bar item of menu bar 1 whose description is "text input"</code> to another variable?</p>
  
  <pre><code>tell application "System Events"
      tell process "SystemUIServer"
          get value of first menu bar item of menu bar 1 whose description is "text input"
      end tell
  end tell
  </code></pre>