0

I have:

  1. an Automator workflow saved as an application "workflow.app"
  2. an Apple Script saved as an application "script.app"
  3. a PDF file residing on Desktop "test.pdf"

How do I launch workflow.app and pass test.pdf as the input for workflow from inside script.app?

0

1 Answer 1

0

tell application "workflow" to open "Macintosh HD:Users:user_name:Library:Mobile Documents:com~apple~CloudDocs:test.pdf"

Sign up to request clarification or add additional context in comments.

3 Comments

Why not just have the workflow application open the file directly?
Because I need the script to choose and pass the file.
An Automator application can choose files or have files dropped onto it and run scripts without needing a separate application.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.