• 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
Re: Unwanted output
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Unwanted output


  • Subject: Re: Unwanted output
  • From: Steve Mills <email@hidden>
  • Date: Wed, 24 Aug 2016 09:37:04 -0500

On Aug 24, 2016, at 09:27:34, debt <email@hidden> wrote:
>
> 	When I run the following code via an osascript, it always prints out "text document 1” in Terminal.  Is there any way to prevent that output from being printed?  It’s not a big deal, but it would clean up the output of my script.
>
> Thanks,
> Marc
>
>
> tell application "BBEdit"
> 	activate
> 	open "/some/file.txt"
> end tell

In Terminal? I think you're mistaken. I'm pretty sure you mean it's output to the log pane/window of which ever script editor you're using. That's expected, since it's the result of the "open" command.

--
Steve Mills
Drummer, Mac geek


 _______________________________________________
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: Unwanted output
      • From: debt <email@hidden>
References: 
 >Unwanted output (From: debt <email@hidden>)

  • Prev by Date: Unwanted output
  • Next by Date: Re: Unwanted output
  • Previous by thread: Unwanted output
  • Next by thread: Re: Unwanted output
  • Index(es):
    • Date
    • Thread