Launch url SOLUTION
Richard Gaskin
ambassador at fourthworld.com
Tue May 6 01:35:42 CDT 2008
Glad you at least found a workaround, but did you ever find out why it
was needed?
--
Richard Gaskin
Fourth World Media Corporation
___________________________________________________________
Ambassador at FourthWorld.com http://www.FourthWorld.com
Shari wrote:
> Oh joy!
>
> I found the solution!
>
> Thank you Ken and Sarah for the ideas. And THANK YOU Scott Rossi for
> the final solution!
>
> After trying again and failing miserably, I went thru some old posts I
> had saved regarding this subject.
>
> Scott's post is from 2002, and it worked when all else failed.
>
> on mouseUp
> global tUrl
> # tUrl is the full path of the URL you are trying to launch
> put "http://www.gypsyware.com" into tUrl
>
> put \
> "<html>" & return & \
> "<head>" & return & \
> "<meta http-equiv=" & q("Refresh") && "content=" & \
> q("0; URL=" & tURL) & ">" & return & \
> "<title>Launcher</title>" & return & \
> "</head>" & return & \
> "<body>" & return & \
> "<center>" & return & \
> "<BR><BR><BR>" & return & \
> "Loading URL. One moment please..." & return & \
> "</center>" & return & \
> "</body>" & return & \
> "</html>" into tCode
>
> put pathToSomeFolderYouCanWriteTo into goHtml
> put "/gypsywareWebpage.html" after goHtml
>
> open file goHtml for write
> write tCode to file goHtml
> close file goHtml
>
> put word 1 of \
>
> queryRegistry("HKEY_LOCAL_MACHINE\Software\Classes\http\shell\open\command\")
> into tBrowserPath
> launch goHtml with tBrowserPath
> end mouseUp
>
> function q pWhat # put quotes around it
> return quote & pWhat & quote
> end q
More information about the metacard
mailing list