• 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: Requesting help with setting size of text, please
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Requesting help with setting size of text, please


  • Subject: Re: Requesting help with setting size of text, please
  • From: Shane Stanley <email@hidden>
  • Date: Mon, 10 Aug 2015 22:13:59 +1000

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:

You may assign any name/value pair you wish to a range of characters, in addition to the standard attributes described in the Constants section of NSAttributedString Additions.

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.

-- 
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:
    • Re: Requesting help with setting size of text, please
      • From: Brian Christmas <email@hidden>
References: 
 >Requesting help with setting size of text, please (From: Brian Christmas <email@hidden>)
 >Re: Requesting help with setting size of text, please (From: Shane Stanley <email@hidden>)
 >Re: Requesting help with setting size of text, please (From: Brian Christmas <email@hidden>)
 >Re: Requesting help with setting size of text, please (From: Shane Stanley <email@hidden>)
 >Re: Requesting help with setting size of text, please (From: Brian Christmas <email@hidden>)
 >Re: Requesting help with setting size of text, please (From: Shane Stanley <email@hidden>)
 >Re: Requesting help with setting size of text, please (From: Brian Christmas <email@hidden>)

  • Prev by Date: Re: Requesting help with setting size of text, please
  • Next by Date: Re: Requesting help with setting size of text, please
  • Previous by thread: Re: Requesting help with setting size of text, please
  • Next by thread: Re: Requesting help with setting size of text, please
  • Index(es):
    • Date
    • Thread