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

Posted on 2014-08-11
Last Modified: 2014-08-18
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
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
Question by:ckercher

    Author Comment

    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.


    Accepted Solution

    This answer by Jacques Rioux on solved my issue.


    Author Closing Comment

    I do not know how to accept my post as the answer without grading myself so I gave it a C.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Highfive Gives IT Their Time Back

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Deploystudio is a system which can be used to deploy OSX clients and servers within the small/medium or large business environments. The system is built onto of the OSX Server NetBoot system and uses images & workflows as its core assets. While work…
    The /etc/authorization file in Mac OS X 10.x can be used to control access to the various panes of the System Preferences amongst other things. It’s used by some of us Mac Sys Admin’s to give Standard Users access to System Prefs panes that only adm…
    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…

    794 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

    Need Help in Real-Time?

    Connect with top rated Experts

    16 Experts available now in Live!

    Get 1:1 Help Now