Thanks Shane
You’ve taught me a lesson in Google searching. I searched for 'asobjc addAttribute’, and did not get hits on Apple documentation.
From now on, no ‘asobjc' in front, and the full terminology.
And Ron, thanks for the code.
Regards
Santa On 10 Aug 2015, at 10:13 pm, Shane Stanley < email@hidden> wrote: On 10 Aug 2015, at 10:02 pm, Brian Christmas < email@hidden> wrote:
I haven’t got the foggiest on what variables to plug in
In case it's not obvious, I don't know them off the top of my head either. When I post them here, it's because I've gone and looked them up in the documentation. So you're effectively asking me to do your searching for you, and i've been trying to nudge you in the direction so you can do it yourself, because it happens I've been tied up with something that stops me getting to the docs.
So look up NSMutableAttributedString and addAttribute:value:range. See where it says:
Notice that Constants is a link, so click on it. That takes you to the list of Standard Attributes. The first one looks exactly like what you want.
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
|