• 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
Requesting even <more> assistance with terminology, please (an update)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Requesting even <more> assistance with terminology, please (an update)


  • Subject: Requesting even <more> assistance with terminology, please (an update)
  • From: Brian Christmas <email@hidden>
  • Date: Thu, 25 Sep 2014 09:27:31 +1000

I've re-=read the CF documentation, and now think my CF method won't work, because the method calls for a pre-existing CF string.

So, I've reverted back to code I'd already tried that didn't work, but I can't for the life of me figure out why? It's very frustrating.

Here's my latest effort (really my first one).

Feedback requested, please

Regards

Santa


#
# This works, but I think returns an immutable Attributed text item
#
set itemForAttributes to theVariedAttributedText's attributedSubstringFromRange_({1 as integer, 1 as integer})
#
#
# I tried this from 'Explored', but it freezes on 'say 7'
#
set aMutableCopyOfItemForAttributes to itemForAttributes's mutableCopy()
#
say 5
set colorAccess to current application's NSForegroundColorAttributeName # <= 'NSColor'
set p to 1.5
#
#display dialog colorAccess as text 
#
#
say 7
# This method freezes, but WHY?
#
set myFontColor to aMutableCopyOfItemForAttributes's objectForKey_(colorAccess)
#
# This method freezes, but WHY?
#
#set theAttributedTextItemsKeys to aMutableCopyOfItemForAttributes's allKeys() as list
#
# #display dialog theAttributedTextItemsKeys as text
#


 _______________________________________________
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 even <more> assistance with terminology, please (an update)
      • From: Shane Stanley <email@hidden>
  • Prev by Date: Requesting even <more> assistance with terminology, please
  • Next by Date: Re: can't get terminology right
  • Previous by thread: Requesting even <more> assistance with terminology, please
  • Next by thread: Re: Requesting even <more> assistance with terminology, please (an update)
  • Index(es):
    • Date
    • Thread