Re: Cannot get terminology correct
Re: Cannot get terminology correct
- Subject: Re: Cannot get terminology correct
- From: Shane Stanley <email@hidden>
- Date: Wed, 01 Oct 2014 10:39:52 +1000
On 1 Oct 2014, at 10:10 am, Brian Christmas <email@hidden> wrote:
# THIS fails... # set checkItemColor to mainMessagesAttributableText's attribute_atIndex_effectiveRange_(current application's NSForegroundColorAttributeName, (theStartOfPlainTextParagraph + 1) as integer, {(theStartOfPlainTextParagraph + 1) as integer, 1 as integer})
As you'd expect -- the last parameter should be missing value. # # SO does this… # set checkItemColor to mainMessagesAttributableText's attribute_atIndex_effectiveRange_(current application's NSForegroundColorAttributeName, (theStartOfPlainTextParagraph + 1) as integer, missing value)
You don't tell us what happens here. What happens if you add:
current application's NSLog("checkitemColor = %@", checkItemColor)
And one request: please do a search-and-replace to change "AttributableText" to "AttributedText".
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
applescriptobjc-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden