Page 1 of 1

Open HTML file with all browsers

Posted: 24 May 2008 00:18
by bugger
My first dive into some XY automation. I needed to open an HTML file in all installed web browsers - Firefox, IE, Safari, and Opera. So to do this in one click I added a 'new item' to my Catalog (I have a scripts category).

In the location field just used the following little string of openwith statements:

Code: Select all

::openwith firefox; openwith iexplore; openwith "C:\Program Files\Opera\opera.exe"; openwith "C:\Program Files\safari\safari.exe"
Firefox and Internet Explorer are in the search path so I don't need to add their full paths like Opera and Safari. Turns out to be a simple little time saver.