• 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: Jim Weisbin <email@hidden>
  • Date: Mon, 05 Oct 2015 09:51:48 -0400

 "S. J. Cunningham" <email@hidden> wrote:


Thanks.  Sure.  Here's the plist I put in ~/Library/LaunchAgents:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>KeepAlive</key>
<false/>
<key>Label</key>
<string>com.example.exampled</string>
<key>ProgramArguments</key>
<array>
<string>osascript</string>
<string>/Users/sjc/Desktop/exampled.scpt</string>
</array>
<key>RunAtLoad</key>
<true/>
</dict>
</plist>


This is a shot in the dark, but from my dim memories of past problems, I remember this being a solution. Add this to the plist:

<key>AbandonProcessGroup</key>
   <true/>



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

  • 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: El Capitan Wrecks my Desktop Sweeper Script
  • Index(es):
    • Date
    • Thread