Thoughtful, detailed coverage of the Mac, iPhone, and iPad, plus the best-selling Take Control ebooks.

 

 

Pick an apple! 
 
Open Multiple Items from Stacks

Want to open multiple items from a stack in the Dock? Hold down the Option key while clicking them to keep the stack visible while the documents open.

Visit plucky tree

Submitted by
cricket

 
 

John Baxter

Send Article to a Friend

John Baxter <jwbaxter@pt.olympus.net> 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

 

READERS LIKE YOU! Support TidBITS by becoming a member today!
Check out the perks at <http://tidbits.com/member_benefits.html>
Special thanks to Brian Morris, Fred Brock, Paul Koreneff, and
Christian Zwieb for their generous support!