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

 

 

Pick an apple! 
 
Disable Caps Lock

If you find yourself pressing the Caps Lock key accidentally as much as I do, note that you can disable it entirely in Mac OS X. Open the Keyboard & Mouse preference pane, click the Modifier Keys button, and in the dialog that appears, select No Action from the Caps Lock pop-up menu. You could remap it to another modifier instead, but that might make using differently configured Macs more difficult.

 
 

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 James Browning, Ronald Osborne, KHarrison, and
Stephen Karp for their generous support!