Link to home
Start Free TrialLog in
Avatar of ckercher
ckercherFlag for United States of America

asked on

Apple Automator to view a list of URLs from a text file

Hello,
I run into scenarios where I want to compile a list of URLs in a text file. Then I want to use Apple Automator to view each one of those URLs in a separate tab in a browser.  My MAC is OSX 10.9.4, Automator V2.4. I can use

Get Specified URLs > Display Web Pages

but I have to cut and paste the URLs into Get Specified URLs. I want to read the URLs from a text file. I saw some posts that say to use "Get Specified Finder Items" >  "Combine Text Files" > "Filter Paragraphs" but this does not work either. The flow I am trying is

Get Specified Finder Items > Combine Text Files > Filter Paragraphs > Get Specified URLs > Display Web Pages

When I run this work flow I see Filter Paragraphs outputs the list of URLs but with parens around them
(
URL 1
URL 2
URL3
)
I see the output of Get Specified URLs is empty which causes the error "The action Display Webpages was not supplied the required data".

Any help is appreciated
Joe
Avatar of ckercher
ckercher
Flag of United States of America image

ASKER

I have made a bit of progress with this. The following workflow will display all URLs in the text file in a separate browser tab, but all at the same time.

Get Specified Finder Items > Combine Text Files > Extract URLs from Text > Get Specified URLs > Display Web Pages

It kills my browser when I have 50+ URLs in the input text file. I would really like it to open 1 URL, wait for me to kill that tab or something similar, then display the next URL.

Joe
ASKER CERTIFIED SOLUTION
Avatar of ckercher
ckercher
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I do not know how to accept my post as the answer without grading myself so I gave it a C.