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