Title: Re: Netscape mailto
This does not work with the new Netscape 6.1 p1. Following the line
            register protocol “OPIM” for protocol “mailto”
The error message is returned: expected end of line but got property. Smile highlights the word “register”.

This word is not in the Netscape dictionary, for what it’s worth.

Bruce



on 6/15/01 2:37 PM, Allen Watson at [EMAIL PROTECTED] wrote:

                      --Script originally written by David M. Converse, released into
                       the public domain 6/23/99
                       tell application "Finder"
                       copy (choose file with prompt "Choose an email program to work
                       with Netscape:" of type "APPL") to FileSpec
                       set CreatorSpec to the creator type of FileSpec
                       set FileName to the name of FileSpec
                       end tell
                       if the button returned of (display dialog "Set " & (FileName as string)
                       & " to be the email handler for Netscape?" buttons {"Cancel",
                       "OK"} ¬
                       default button "OK" with icon 1) is "OK" then
                       tell application "Netscape Communicator?"
                       register protocol (CreatorSpec as string) for protocol "mailto:"
                       quit
                       end tell
                       end if


--  
            Bruce Klutchko              [EMAIL PROTECTED]

Reply via email to