Here's the log, with the method set on 'missing value'.
The NSColor is correct, it's Apple colour 'purple'.
Search & Replace duly carried out as well.
set checkItemColor to mainMessagesAttributedText's attribute_atIndex_effectiveRange_(current application's NSForegroundColorAttributeName, (theStartOfPlainTextParagraph + 1) as integer, missing value)
current application's NSLog("checkitemColor = %@", checkItemColor)
2014-10-01 12:20:04.971 ApplescriptObjC Wizard[19722:303] *** -[NSConcreteMutableAttributedString attribute:atIndex:effectiveRange:]: value passed to argument of type ^{_NSRange=QQ} must be either `missing value' or `reference'; assuming `missing value'.
2014-10-01 12:20:04.998 ApplescriptObjC Wizard[19722:303] *** -[AppDelegate saveData]: unrecognized selector sent to object <AppDelegate @0x10504acf0: OSAID(5)>
2014-10-01 12:20:04.998 ApplescriptObjC Wizard[19722:303] *** -[AppDelegate toggleStartDate:]: *** -[AppDelegate saveData]: unrecognized selector sent to object <AppDelegate @0x10504acf0: OSAID(5)> (error -10000)
2014-10-01 12:20:13.466 ApplescriptObjC Wizard[19722:303] checkitemColor = NSCalibratedRGBColorSpace 0.5 0 0.5 1
2014-10-01 12:20:13.466 ApplescriptObjC Wizard[19722:303] -[NSCachedRGBColor string]: unrecognized selector sent to instance 0x1005304d0
On 01/10/2014, at 10:39 AM, Shane Stanley <
email@hidden> wrote:
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