Scripting bridge: bridge 'rich text' to NSAttributedString
| Originator: | amorya | ||
| Number: | rdar://19397019 | Date Originated: | 07-Jan-2015 10:43 AM |
| Status: | Open | Resolved: | |
| Product: | OS X SDK | Product Version: | Mac OS X 10.10.1 (14B25) |
| Classification: | Enhancement | Reproducible: | Always |
There needs to be native support for bridging NSAttributedStrings to rich text in AppleScript-land. I know this is a hard problem, not least because different apps support it differently (see Omni’s research into what scripting classes are used: http://support.omnigroup.com/omnifocus-2-applescript-changes ). However, it’s a pain in the arse to have to iterate through everything and build your own NSAttributedString, and even more of a pain to do things the other way when you want to mutate things. When you do add this, please test support with both Mail (on the content property of a message) and OmniFocus (on the note property of a task).
Comments
Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!