Re: Another Mail Script Fails on El Capitan – Send Styled Text
Re: Another Mail Script Fails on El Capitan – Send Styled Text
- Subject: Re: Another Mail Script Fails on El Capitan – Send Styled Text
- From: Shane Stanley <email@hidden>
- Date: Fri, 27 Nov 2015 13:32:37 +1100
On 27 Nov 2015, at 1:09 PM, Christopher Stone <email@hidden> wrote:
>
> Can someone confirm?
Yep.
>
> It seems to me Shane presented an ASObjC method of doing this a while back.
>
> Yeah, I found it:
>
> http://prod.lists.apple.com/archives/applescript-users/2015/Aug/msg00073.html
>
> Still causing Script Debugger to hang but working from Script Editor.
It works from SD here if you hide Results & Variables. Looks like it would be worth a bug report (the current application's NSAttributedString's alloc()'s initWithHTML:theData documentAttributes: line seems to be where it happens).
> NOT working from Keyboard Maestro though, damn it...
Sorry, no idea...
> DOES work from FastScripts.
Cool.
Note that it should also include a 'use framework "Appkit"' line, although I doubt that that will change much.
--
Shane Stanley <email@hidden>
<www.macosxautomation.com/applescript/apps/>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden