revGoURL on 10.2.3

Scott Rossi scott at tactilemedia.com
Mon Jan 5 16:50:30 EST 2004


On 1/5/04 12:55 PM, "Richard Gaskin" <ambassador at fourthworld.com> wrote:

> I have not yet
> come up with a robust solution for launching a local file in the user's
> default browser in Panther. :(

I know that GURL is broken in Panther, but does the following fail as well?

on mouseUp
  answer file "Locate HTML:"
  if it is empty then exit mouseUp
  put it into tPath
  put \
      "tell application" && quote & "Finder" & quote & cr &\
      "open location" && quote & "file://" & tPath & quote & cr &\
      "end tell" into S
  do S as AppleScript
end mouseUp

Regards,

Scott Rossi
Creative Director
Tactile Media, Multimedia & Design
-----
E: scott at tactilemedia.com
W: http://www.tactilemedia.com



More information about the use-livecode mailing list