June 7, 2014 at 10:26 PM by Dr. Drang
What bothers me is the two-item object that serves as the second argument to the
displayDialog method. A key named
defaultAnswer makes sense, but who in their right mind would name a key
withTitle instead of just
If you know the AppleScript equivalent of this code, you can make a pretty good guess.
applescript: display dialog ¬ "Please enter your email address" with title "Email" default answer "email@example.com"
I slay me. ↩︎
I’d give you a link to the section, but Apple doesn’t seem to understand how to make internal document links. I’m sure they’ll get the hang of this HTML thing eventually. ↩︎
I’ve reformatted the code here because Apple also doesn’t seem to understand the difference between
ultags. Give them time. They’ve only been in the HTML spec since the 90s. ↩︎