ASOC warning messages
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’.
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?
-- |
_______________________________________________
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