Scott Rossi wrote: > On 1/5/04 2:19 PM, "Richard Gaskin" <[EMAIL PROTECTED]> 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 >> >> Yes, but not in the default browser if the local file has a creator code for >> another app assigned to it. > > OK, but neither would double clicking the file in the situation you > describe, so it's not exactly a departure in behavior.
Yes, "open location" works like the Finder, but the older GURLGURL method launched the document in the user's default browser. -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge: Publish any database on any Web site ___________________________________________________________ [EMAIL PROTECTED] http://www.FourthWorld.com _______________________________________________ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
