Jump to content

Automator Workflow --> Alfred 3 Workflow


Recommended Posts

Hi Community-

I just made a dead simple Automator script, and I was looking for a dead simple way to convert it to an Alfred Workflow. All it does is take the selected file in the Finder and archive/compress it as a zip in the same location. 

2j08S0q.jpg

 

 

I saved it as a .app and it works ok, but ideally I'd like it to be an .alfredworkflow. What's the most straightforward way to convert Automator scripts as Workflows? 

Thanks, and sorry for the n00b question. 

T

Link to comment
  • 2 weeks later...

There is an 'automator' command (/usr/bin/automator), so you should be able to just call your scripts directly using a Run Script action in Alfred (set as Bash), then using the command:

 

/usr/bin/automator /path/to/workflow

 

An alternative approach would be to use a simple script and bypass using automator. Take a look at this workflow:

 

http://www.alfredforum.com/topic/539-zip-for-alfred-3-compress-files-and-folders/

 

Cheers,

Andrew

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...