• 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: Really dumb question . . .
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Really dumb question . . .


  • Subject: Re: Really dumb question . . .
  • From: Jeff Porten <email@hidden>
  • Date: Mon, 15 Aug 2005 22:11:00 -0400

On Jul 25, 2005, at 10:07 PM, Mark J. Reed wrote:

but how, when a script is running under osascript, can I write to standard output? log() doesn't seem to send things anywhere from osascript.... I know that the return value of the on run handler is automatically echoed, but I'm looking for a way to report progress along the way, not just output a big string all at the end . .

My new favorite toy is growlnotify, part of the Growl notification package. <http://www.growl.info>


my growl("test message")

on growl(message)
    do shell script "growlnotify -m '" & message & "'"
end growl

Pops up a bezel or a bubble or something else, depending on your system preferences. Options to title the message, use a custom icon, make the message persistent, or what have you. Really, it's very nifty.

Best,
Jeff


_______________________________________________ Do not post admin requests to the list. They will be ignored. Applescript-users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Prev by Date: Re: How do you write an OSAX?
  • Next by Date: Re: SetVisibleInTiger
  • Previous by thread: Re: alias to string deprecated, or bug?
  • Next by thread: RE: Scripting - Print/Save PDF As Postscript
  • Index(es):
    • Date
    • Thread