Title: Re: complex HTML
On 2/7/03 11:27 AM, "Lewis Pennock" <[EMAIL PROTECTED]> wrote:

> So far, the script has not allowed me to select any of the test .html files
> I have created.  In fact, I can not find a single .html file on my HD that
> is not grayed out in the file select dialog box.  I can open any of the
> files in question in IE and then use the "send from IE" method, and the HTML
> e-mail comes across fine, but I can't select a text file without using IE to
> open it first.  In general, IE is never open on my computer, so selecting
> text files is preferred.
>
> What are the criteria for appropriate .html files?   These are all flat text
> files (non .rtf or anything like that) files in proper html format.

The script was adapted from the version for Entourage 2001 back in the good old days of OS 9 when every Mac file had a file type. The 'choose file' selector restricted the choice to files of file type "TEXT" to make them easier t find and reduce errors.

In OS X, files no longer have to have file types. You are saving these files with an application that doesn't give them file types (perhaps to make them more easily cross-platform without confusing Windows users).

I'll put out a revised version of the script within a day or two. In the meantime you can edit the script yourself. Open it in Script Editor and look for the

    on GetFileinfo()

line near the bottom of the script. The next line is:

    set filealias to (choose file of type {"TEXT"} with prompt "Choose the HTML file to send.")

Just remove ' of type {"TEXT"} ' so it now reads

   set filealias to (choose file with prompt "Choose the HTML file to send.")
    
Press the Check Syntax button, then Save.

Now you'll be able to use the script with files.

--
Paul Berkowitz
MVP Entourage
Entourage FAQ Page: http://www.entourage.mvps.org/toc.html

PLEASE always state which version of Entourage you are using - 2001 or X. It's often impossible to answer your questions otherwise.

Reply via email to