• 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
terminal output from AppleScript
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

terminal output from AppleScript


  • Subject: terminal output from AppleScript
  • From: Mitchell L Model <email@hidden>
  • Date: Fri, 24 Feb 2017 12:11:50 -0500

I have a script that runs in the terminal (shebang line, executable). I need it to print text to the terminal at different times during the execution of the script. I have done something like this before, but I only needed one multi-line output at the end -- what I did was accumulate the output during the execution of the program into a long string and return that as the value of the run handler. That happens to print the string to the terminal.

An ASObjc solution would be fine.






 _______________________________________________
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


  • Prev by Date: Re: multi-line records?
  • Next by Date: Re: multi-line records?
  • Previous by thread: Re: multi-line records?
  • Next by thread: Replacement for Finder?
  • Index(es):
    • Date
    • Thread