Re: cron/Launchd Editor
Re: cron/Launchd Editor
- Subject: Re: cron/Launchd Editor
- From: Philip Aker <email@hidden>
- Date: Thu, 17 Sep 2009 19:50:57 -0700
On 2009-09-17, at 18:55:36, Tom Robinson wrote:
On 2009-09-18, at 08:27, Robert Poland wrote:
<key>Program</key>
<string>/Library/Scripts/Universal\ Scripts/playMantelSound</string>
<key>ProgramArguments</key>
<array>
<string>/Library/Scripts/Universal\ Scripts/playMantelSound</
string>
</array>
What's playMantelSound (shell script? AppleScript?) and why does it
pass a parameter of itself to itself?
He's created his plist with some utility. It's looks like it's trying
to follow the guidelines but doesn't have it quite right. The
parameters are the same as those for <x-man-page://3/execvp> as
transcribed for the launchd property list XML format. So the Program
should contain the full path to the tool, but the first
ProgramArgument should contain only the name of the tool.
It does seem kind of odd not to see a .scpt or .scptd extension, but
that's a user preference. However if he's just hiding the extension
rather than omitting it entirely, then that will be a problem as well
(and possibly the cause of the error he reported previously).
Philip Aker
echo email@hidden@nl | tr a-z@. p-za-o.@
Democracy: Two wolves and a sheep voting on lunch.
_______________________________________________
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