Re: Preventing extraneous output from osascript -l JavaScript
Re: Preventing extraneous output from osascript -l JavaScript
- Subject: Re: Preventing extraneous output from osascript -l JavaScript
- From: Chris Page <email@hidden>
- Date: Thu, 17 Dec 2015 02:31:01 -0800
On Dec 15, 2015, at 1:30 PM, Paul Scott < email@hidden> wrote:
When I run the following script from Terminal, I get “true” printed on the console. I don’t want the that extraneous output. …
Note that if I wrap everything in a function then I no longer get the “true” printed, but I still get an extraneous linefeed, and I don’t want that either. I can easily prevent any extraneous output in AppleScript by placing “return” as the last statement. But there does not seem to be any way to prevent it in _javascript_. Any ideas?
-- Chris Page The other, other AppleScript Chris
|
_______________________________________________
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