• 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: Shane Stanley <email@hidden>
  • Date: Mon, 05 Oct 2015 21:46:46 +1100

On 5 Oct 2015, at 9:07 PM, S. J. Cunningham <email@hidden> wrote:

When I run this:

set debugMsg to "osascript -e \"display dialog \\\"the debugging message I want to send\\\"\""
do shell script debugMsg

I get this:

AppleScript Runtime Error:
0:53: execution error: No user interaction allowed. (-1713)

It's your OS again. From the 10.9 AS Release Notes:

osascript(1) is now a “UI element” process and can therefore display its own UI, such as using display dialog; telling another application such as System Events is no longer necessary.

-- 
Shane Stanley <email@hidden>
<www.macosxautomation.com/applescript/apps/>

 _______________________________________________
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

  • Follow-Ups:
    • Re: How Can I Get a Launch Agent which is a Script to Talk to Me?
      • From: "S. J. Cunningham" <email@hidden>
References: 
 >Re: How Can I Get a Launch Agent which is a Script to Talk to Me? (From: 2551 <email@hidden>)
 >Re: 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