• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Still cannot get CF terminology correct
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Still cannot get CF terminology correct


  • Subject: Re: Still cannot get CF terminology correct
  • From: Shane Stanley <email@hidden>
  • Date: Thu, 25 Sep 2014 22:03:47 +1000

On 25 Sep 2014, at 9:44 pm, Brian Christmas <email@hidden> wrote:

> That brings me back to something I'de already tried, and I get a 'concrete' in the log.

Ignore it. It has no meaning to you.

> What's frustrating is that the information I need is in the log (the NSColor info).

That's just a description of the attributed string.
>
> What  I'm trying to do is read the NSColor value of an Attributed text character

Well you have the attributed string. You can either get the attributes of it as a dictionary, using one of the attributesAtIndex:: methods, or just use:

attribute_atIndex_effectiveRange_(current application's NSForegroundColorAttributeName, theIndex, missing value) if that's the only attribute you're interested in.


--
Shane Stanley <email@hidden>
<www.macosxautomation.com/applescript/apps/>


 _______________________________________________
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


  • Follow-Ups:
    • Cannot get terminology correct
      • From: Brian Christmas <email@hidden>
References: 
 >Still cannot get CF terminology correct (From: Brian Christmas <email@hidden>)
 >Re: Still cannot get CF terminology correct (From: Shane Stanley <email@hidden>)
 >Re: Still cannot get CF terminology correct (From: Brian Christmas <email@hidden>)

  • Prev by Date: Re: Still cannot get CF terminology correct
  • Next by Date: Got Attributes, do do I read the keys, please?
  • Previous by thread: Re: Still cannot get CF terminology correct
  • Next by thread: Cannot get terminology correct
  • Index(es):
    • Date
    • Thread