1

How do I configure Automator to ask for a text input (example: enter website url) and pass the answer to an AppleScript that executes this command:

video-dl (user input)

So, this would be executed in the terminal:

video-dl http://www.example.com/video.mpg

1 Answer 1

0

There is no need to use AppleScript here, you can pass data from Automator directly into a shell script.

enter image description here

Depending on where you've stored the script, you may have to include the full path to the script in the action (/path/to/video-dl "$@").

2
  • Any idea how you can show a window that shows progress? You rock! Commented Sep 6, 2015 at 13:16
  • Not really, might be tricky from Automator. Please ask a new question for this if necessary. Commented Sep 6, 2015 at 13:20

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.