Jump to content

Run consecutive actions/open generated file?


Recommended Posts

So I have a workflow that basically does this:

 

- Grabs selected text (a column of numbers from Numbers)

- runs a ruby script that generates a histogram of those numbers using R

- saves that histogram to disk and outputs the filename

 

What I'd like to do next is open that file in Preview.

 

I've tried running a script after the first script that just calls "open {query}" but it doesn't open the file. There's an open file action, but I can't string an action after an action.

 

Any ideas?

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...