Grammar Police in OS X 10.11
Grammar Police in OS X 10.11
- Subject: Grammar Police in OS X 10.11
- From: Jim Skibbie <email@hidden>
- Date: Wed, 13 Jan 2016 22:30:17 +0000
- Thread-topic: Grammar Police in OS X 10.11
Has anyone seen the grammar police when compiling an Applescript in OS X 10.11?
I had a script coming from OS X 10.8 that has existed for years and years (a snippet below):
set
thisRecord
to {nameType:"licensed",
ContentID:false}
tell thisRecord
if (it's
nameType
is "licensed") then
set
ContentID
of thisRecord
to true
end if
end tell
When compiled this in OS X 10.11 I get this:
set thisRecord
to {nameType:"licensed", ContentID:false}
tell thisRecord
if (its
nameType -- Grammar Police
is "licensed") then
set
ContentID of thisRecord
to true
end
if
end
tell
During compile, both Script Debugger and Script Editor (rightly) changed it’s (contraction) to its (possessive of it), but then inserts the comment –- Grammar Police. Subsequent attempts to compile fail because of the inline comment.
Just thought I’d let everyone know that your ( or is it you’re :) ) scripts are now checked by the grammar police for improper use of contractions when you mean possessive!
Jim
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden