Re: AppleScript After Launchd Job
Re: AppleScript After Launchd Job
- Subject: Re: AppleScript After Launchd Job
- From: Philip Aker <email@hidden>
- Date: Fri, 5 Jun 2009 21:58:46 -0700
On 2009-06-05, at 21:23:47, Pierce Freeman wrote:
I am making a Launchd job, and want to run an AppleScript once it is
done
with it's main task. I want my cd job to run, and then a follow-up
AppleScript to run afterwards. My problem is that I don't know how
to use
two different "main codes" (ex. cd) to be run in one launchd.
I'm guessing you would want something like the following in your shell
script:
cd /path/to/dir;
osascript /path/to/some.scpt;
To run multiple shell script calls from a single line it would be:
cd /path/to/dir;osascript /path/to/some.scpt;
The basic command separator is a semicolon.
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