Sequentially Open Multiple URLs Listed in a File Using Chrome as a Browser

Hello,

Every month, I have to check about 20+ URLs for technical information.

I wrote a macro to do so.

I created a dummy macro (below) modeled after the original one, which opens only 3 KM sites

The macro basically:

  • Opens a new window in Google Chrome.
  • Opens each web site in sequence using the open URL with Chrome action followed by a short pause.

My macro has many disadvantages - it is not elegant, very long and most tedious to edit (find and edit), add, remove and regroup URLs.

What I would like:

  • A macro which would simply read a simple list of URLs from a BBEdit (or other) file, which would make it easy to identify, edit (find and edit), add, remove and regroup URLs.

Thanks in advance for your time and help

ZZ Test Open Multiple URL Web Sites.kmmacros (31.4 KB)

Hey @ronald,

That's simple enough.

Give me the path and name for your URL document, and I'll whip one up.

-Chris

1 Like

path ~/Desktop/primary tech 1 URLs.txt
name primary tech 1 URLs

thanks very much for the lightning speed reply !!

Hey @ronald,

Note that I've done this entirely in AppleScript, because it will function a bit faster, more smoothly, and and more organically.

The file path is in a property at the top of the script and can easily be changed by the user.

Note also that this task can easily be undertaken using Keyboard Maestro native actions:

-Chris


Download: Open a List of URLs from a File in Google Chrome v1.00.kmmacros (8.1 KB)

Macro-Image

Keyboard Maestro Export

Macro-Notes
  • Macros are always disabled when imported into the Keyboard Maestro Editor.
    • The user must ensure the macro is enabled.
    • The user must also ensure the macro's parent macro-group is enabled.

System Information
  • macOS 10.14.6
  • Keyboard Maestro v10.2

1 Like

Absolutely perfect! Thanks very much!

1 Like