Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: Applescript an Automator action?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Applescript an Automator action?



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



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.