MACSCRPT Archives

February 2014

MACSCRPT@LISTSERV.DARTMOUTH.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
David Livesay <[log in to unmask]>
Reply To:
Macintosh Scripting Systems <[log in to unmask]>
Date:
Wed, 26 Feb 2014 19:44:36 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (22 lines)
This should work for any browser, any file/URL:

$ open -a /Applications/Firefox.app http://www.apple.com/
$ open -a /Applications/Google\ Chrome.app/ /Users/Shared/Documents/WorldSeriesWinners.html

Assuming you have /usr/bin/open or something like it.

On Feb 26, 2014, at 2:06 PM, Walter Ian Kaye wrote:

> Hey folks, I'm writing a script for Web browsers, but since I'm on an older system I cannot run newer browsers. I've assembled a long list, and have managed to tackle all but the following four, which appear to not have any dictionary:
> 
> * Demeter        com.hurrikenux.Demeter15
> * Shiira         jp.hmdt.shiira
> * Stainless      com.stainlessapp.Stainless
> * TrailBlazer    edu.uiuc.mw.TrailBlazer
> 
> So, could somebody please test these four with "tell ... to open <alias>" and see which, if any, will open an HTML file?
> 
> 
> thanks!
> -boo

ATOM RSS1 RSS2