Alex,
 
This is the code I use:
 
on GoURL tURL
  switch (the platform)
  case "MacOS"
    send tURL to program "Finder" with "GURLGURL"
    break
  case "Win32"
    put word 1 to -2 of queryRegistry("HKEY_LOCAL_MACHINE\Software\Classes\http\shell\open\command\") into tBrowserPath
    launch (tBrowserPath && tURL)
    break
  end switch
end GoURL
 
Hope this helps,
 
Ken Ray
Sons of Thunder Software
Email: [EMAIL PROTECTED]
Web Site: http://www.sonsothunder.com/
 
 
----- Original Message -----
From: Alex Shaw
Sent: Saturday, October 20, 2001 11:37 PM
Subject: easier way to open webpage?

Hi all,

has mc2.4 got any easier method to open a webpage in the default browser?

currently i create a 1frame quicktime file containing a URL jump which i load into a invisible player object in mc. once played it activates the default system browser

the downside is.. a quicktime file needs to be created for each possible URL (unless i edit the quicktime file at the binary level)

regards
alex

Reply via email to