Re: Applescript an Automator action?
Re: Applescript an Automator action?
- Subject: Re: Applescript an Automator action?
- From: "Mark J. Reed" <email@hidden>
- Date: Tue, 24 May 2005 10:16:50 -0400
Have you tried passing an AppleScript (not Finder) File or Alias?
On 5/24/05, Charles Arthur, UKClimbing Editor <email@hidden> wrote:
Hi..
perhaps I'm just being dim but couldn't find this mentioned.
Say I want to run an Automator workflow at regular intervals by a cron job.
I can create a cron job to run an Applescript.
But I can't work out how to script a workflow to run.
The Automator dictionary has "execute" - execute workflow.
so:
Tell application "Automator" to execute "path/to/my/workflow.workflow"
I've tried putting the workflow in as a string. Nothing happens.
Tried creating an alias to the file (via the Finder) and then telling
Automator to do that. The alias "isn't found".
Tried "set theref to a reference to /path/to/..." Doesn't happen.
So how do I script this thing? It's driving me mad. Has done right from the
start.
The hint at MacOSXHints suggests "tell aplication "Automator Launcher" to
open...."
Doesn't work.
Clues please.
best
Charles
--
http://www.ukclimbing.com : 1,000+ British crags, 350+ British climbing walls
- searchable by distance rock type, etc, with 5-day weather forecasts for
every one - plus maps, articles, news, and the New Routes database. There's
even a cool shop attached...
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (
This email sent to email@hidden
--
Mark J. Reed <
email@hidden>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden