title: Applescript - set Messages inputTextArea error
body: <p>I am trying to set text of the Messages app. I used some helper tool to generate applescript code. Enabled in privacy/accessibility. Still getting compilation errors ("A number can’t go after this identifier."). 10.12.6</p>
  
  <pre><code>tell application "Messages"     
      set value of textarea 1 of scroll area 4 of splitter group 1 of window "Messages"  to "Hello World!" 
  end tell
  </code></pre>
  
  <p>Any advice how to get/set value?</p>
  
  <p><a href="https://i.stack.imgur.com/3qzar.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/3qzar.png" alt="enter image description here"></a></p>