• 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: How Can I Get a Launch Agent which is a Script to Talk to Me?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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: Paul Fidler <email@hidden>
  • Date: Wed, 30 Sep 2015 20:48:12 +0100

I think it was around 10.9 when AppleScript runner disappeared, removing the ability to do Display Dialogs without an app.

Daemons have no user context, so that limits you to launch agents....

You may have to write a windowless app that takes arguments to do display dialogs. Add in LSUIELement (iirc) and you'll get your display dialogs back.

Sent from my iPhone

> On 30 Sep 2015, at 20:18, 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?
>
> Steve
> _______________________________________________
> 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


References: 
 >How Can I Get a Launch Agent which is a Script to Talk to Me? (From: "S. J. Cunningham" <email@hidden>)

  • Prev by Date: Re: How Can I Get a Launch Agent which is a Script to Talk to Me?
  • Next by Date: Re: How Can I Get a Launch Agent which is a Script to Talk to Me?
  • Previous by thread: Re: How Can I Get a Launch Agent which is a Script to Talk to Me?
  • Next by thread: Re: How Can I Get a Launch Agent which is a Script to Talk to Me?
  • Index(es):
    • Date
    • Thread