Re: Requesting help with setting size of text, please
Re: Requesting help with setting size of text, please
- Subject: Re: Requesting help with setting size of text, please
- From: Ron <email@hidden>
- Date: Mon, 10 Aug 2015 12:28:25 -0500
Brian, Instead of hard-coding the attribute names as I did in my previous reply, use this to get at the constants defined in NSAttributedString:
attStr's addAttribute_value_range_(current application's NSFontAttributeName, rangeFont, redRange) attStr's addAttribute_value_range_(current application's NSForegroundColorAttributeName, rangeColor, redRange)
attStr's addAttribute_value_range_("NSFont", rangeFont, redRange) attStr's addAttribute_value_range_("NSColor", rangeColor, redRange)
|
_______________________________________________
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