Re: nil in AppleScript
Re: nil in AppleScript
- Subject: Re: nil in AppleScript
- From: Shane Stanley <email@hidden>
- Date: Fri, 04 Nov 2016 18:07:50 +1100
On 4 Nov. 2016, at 5:51 pm, Takaaki Naganoya <email@hidden> wrote:
If I add 'use framework “AppKit”’, the warning message does not disappear.
Have you tried changing this:
set theStyledText to current application's NSMutableAttributedString's alloc()'s initWithData:aData options:(missing value) documentAttributes:(null) |error|:(missing value)
to this:
set theStyledText to current application's NSMutableAttributedString's alloc()'s initWithData:aData options:(missing value) documentAttributes:(missing value) |error|:(missing value)
You shouldn't be using "null".
|
_______________________________________________
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