?
Solved

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

Posted on 2014-08-11
3
Medium Priority
?
1,727 Views
Last Modified: 2014-08-18
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
0
Comment
Question by:ckercher
  • 3
3 Comments
 

Author Comment

by:ckercher
ID: 40268243
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
0
 

Accepted Solution

by:
ckercher earned 0 total points
ID: 40268858
This answer by Jacques Rioux on discussions.apple.com solved my issue.
https://discussions.apple.com/message/26438630

Joe
0
 

Author Closing Comment

by:ckercher
ID: 40268862
I do not know how to accept my post as the answer without grading myself so I gave it a C.
0

Featured Post

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
An introduction to the wonderful sport of Scam Baiting.  Learn how to help fight scammers by beating them at their own game. This great pass time helps the world, while providing an endless source of entertainment. Enjoy!
Users will learn how resize a batch of photos from a single command in Photoshop via Photoshop's Image Processor. Open up an Image you'd like to resize in Adobe Photoshop: Adjust the image size according to your preferences. Image > Adjustments > …
Users will learn how to set proper sequence settings, scale images, paste attributes, add transitions, fades, and music. Open up Final Cut Pro 7 and Create a new Project: Set the Sequence Settings. a) Click File > Easy Setup > Format > Apple ProRe…

850 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question