• 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
ASOC warning messages
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ASOC warning messages


  • Subject: ASOC warning messages
  • From: Takaaki Naganoya <email@hidden>
  • Date: Tue, 18 Oct 2016 19:05:26 +0900

Hi,

The osascript command outputs the warning messages to Terminal.app (macOS, Sierra + MacBook Pro Retina 2012).
A Script including ASOC commands, outputs warning messages to STDOUT.
Such as….

——warning message————
2016-10-18 16:13:58.099 osascript[20508:44442537] *** -[NSConcreteMutableAttributedString initWithData:options:documentAttributes:error:]: value passed to argument of type ^@ must be either `missing value' or `reference'; assuming `missing value’.
——warning message————

I could avoid this by using “-s e “ option and redirect them to /dev/null.

% osascript -s e /Users/me/Desktop/通知.scptd  2>/dev/null

Can we avoid disturbing ASOC warning messages with calling scripts from osascript command?

--
Takaaki Naganoya
email@hidden
http://piyocast.com/as/



 _______________________________________________
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

  • Follow-Ups:
    • Re: ASOC warning messages
      • From: Shane Stanley <email@hidden>
  • Prev by Date: Re: About path to temporary items.
  • Next by Date: Re: About path to temporary items.
  • Previous by thread: Re: AS & Cocoa & macOS - anyone aware of changes?
  • Next by thread: Re: ASOC warning messages
  • Index(es):
    • Date
    • Thread