• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Applescript an Automator action?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Applescript an Automator action?


  • Subject: Applescript an Automator action?
  • From: "Charles Arthur, UKClimbing Editor" <email@hidden>
  • Date: Tue, 24 May 2005 14:48:35 +0100

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      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Applescript an Automator action?
      • From: Daniel Jalkut <email@hidden>
  • Prev by Date: Re: Folder actions steal UI foces
  • Next by Date: Re: Folder actions steal UI foces
  • Previous by thread: Select files of folders
  • Next by thread: Re: Applescript an Automator action?
  • Index(es):
    • Date
    • Thread