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: "S. J. Cunningham" <email@hidden>
- Date: Thu, 01 Oct 2015 04:55:23 -0400
Thanks, Jim. Some creative ideas.
I am already using email and SMS messaging as part of my alarm system.
Growl is a good thought but...
/rant
I uninstalled Growl when they started charging for it. It's not the price, it's the principle of the thing. Many other developers built growl into their applications because it was free. After it became a became a de-facto standard... Gotcha! This is a strategy employed by drug pushers among others. I think it's shady and violates an implied agreement.
/rant off
When I upgrade, I can probably use the Message Center... but I expect to be dead before then :)
Steve Cunningham
On Sep 30, 2015, at 9:17 PM, Jim Weisbin wrote:
> "S. J. Cunningham" <email@hidden> wrote:
>
>>
>> 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?
>
> You could use growl: http://growl.info/documentation/applescript-support.php#simpleNotificationSampleCode
>
> or “growlnotify” from a do shell script: http://growl.info/downloads
>
> Or you can email or text yourself. I have numerous launch daemons set up to email me at my Verizon SMS address (<my phone number>@vtext.com). For example, if a UPS goes off line (on battery) I get an instant text notification.
>
> Actually it can get pretty annoying, but gotta make a living.
>
>
> Jim Weisbin | C.T.O. | human
>
>
>
>
> _______________________________________________
> 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
_______________________________________________
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