Skip to content
Thoughtful, detailed coverage of everything Apple for 33 years
and the TidBITS Content Network for Apple professionals

John Baxter

John Baxter <[email protected]> writes:

I’ve run into something that grammar mavens may find interesting. Consider this correct [English version] AppleScript code:

   tell word 4 of paragraph 2 of document 1 of application "Scriptable Text Editor"
     get it's text
   end tell

Here, Apple has managed to make AppleScript syntax so English-like that it commits the all-too-common mistake of using "it’s" instead of "its" as the possessive.

You can of course also write that statement as:

     get the text of it

That sounds terribly stilted, but at least avoids the incorrect use of the contraction in place of the possessive. One of the amusing things is that Apple has the potential of running into such problems in each language for which they provide an AppleScript dialect

Subscribe today so you don’t miss any TidBITS articles!

Every week you’ll get tech tips, in-depth reviews, and insightful news analysis for discerning Apple users. For over 33 years, we’ve published professional, member-supported tech journalism that makes you smarter.

Registration confirmation will be emailed to you.

This site is protected by reCAPTCHA. The Google Privacy Policy and Terms of Service apply.