Linking to web sites and files from Mac OS X

Mike Brown mike at cyber-ny.com
Sun Jan 26 09:49:01 EST 2003


Hello,

I am looking for a method to link or connect to a web site (launch a web
browser) from my Rev stack from Mac OS X.  I also want to be able to open or
launch a local file such as a PDF from my Rev stack.  Up to now, I have been
using scripts that work on Windows and Mac OS 9.2.  These methods do not
seem to work on OS X.  Is that correct??

Just for reference, here is the method I have been using for Mac OS 9.2.

Opening a local PDF file:

get the platform
if it contains "Mac" then
launch gLocationHolder with gAppHolder
else
end if

Launching a browser to connect to a web site:

get the platform
if it contains "Mac" then
Put "www.mywebsite.com" into gWebHolder
send gWebHolder to program "Finder" with "GURLGURL"

Will these methods work on OS X??

Thanks!
Mike

Mike Brown
Cyber-NY Interactive





More information about the use-livecode mailing list