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

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 "$@").

| improve this answer | |
  • Any idea how you can show a window that shows progress? You rock! – Jim Robinson Sep 6 '15 at 13:16
  • Not really, might be tricky from Automator. Please ask a new question for this if necessary. – nohillside Sep 6 '15 at 13:20

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .