Why AppleScript display dialog behaves so differently between Editor and Automator? <p>For instance, why this script works on <strong>AppleScript Editor</strong> but not <strong>Automator</strong>?</p> <p><code>display dialog "a lot of text just to break to line 4 whatever continuing... few more... argh... there!" with title "just a test" buttons {"Cancel", "Uninstall", "Continue"} default button 3 with icon caution</code></p> <p>Commenting out everything after the <em>title</em> just on Automator, this is the difference I get:</p> <p><img src="https://i.stack.imgur.com/trFrT.png" alt="alt text"></p> <p>I <em>want</em> the <strong>title</strong> and more than <strong>3 lines</strong> if possible, but those are not the only weird inconsistent behaviors I've seem in the past hour about applescript between <strong>editor</strong> and <strong>automator</strong>. The icon is another one.</p> <p>In the instance, the error I get for trying it in Automator is this:</p> <p><img src="https://i.stack.imgur.com/KWV7d.png" alt="Syntax Error"></p> <p>Recording, questions here are:</p> <ol> <li>Why? Why oh Apple, why?</li> <li>Any way to at least make the <strong><em>title</em></strong> work?</li> </ol>