Re: How Can I Get a Launch Agent which is a Script to Talk to Me?
Re: How Can I Get a Launch Agent which is a Script to Talk to Me?
- Subject: Re: How Can I Get a Launch Agent which is a Script to Talk to Me?
- From: "Stockly, Ed" <email@hidden>
- Date: Wed, 30 Sep 2015 21:41:57 +0000
- Thread-topic: How Can I Get a Launch Agent which is a Script to Talk to Me?
One other option, depending on which system you're using, is to script the
notification center.
I was reminded of that because I have scripts triggered by chron every day
that display notifications. It's not debugging, per se, but I use it to be
able to tell if the script has run without errors and done it's job. (It
downloads files that appear anytime during a three hour window, so it lets
me know where it is in the process at any given time.).
Ed Stockly
LA Times
>I am writing an AppleScript to be launched periodically by launchd (yes,
>I'm back to working on my Dead Man Project for those of you who remember)
>and I find that "display dialog" messages disappear into the ether. I
>read somewhere that Daemons aren't supposed to communicate with losers,
>er, users so I assume the same applies to Launch Agents.
>
>I am getting around it now by writing to a file. I don't really see a
>need for the final product to communicate but I make extensive use of
>"display dialog" for debugging, tracing, etc. Any ideas how I can
>accomplish this with a Launch Agent script?
>
_______________________________________________
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