The file I'm testing with, both the MacType and MacCreator are set to  
"????" and the file ends in ".html"

Basically, I haven't done anything with the MacType or MacCreator.   
The file was created in TextEdit as plain text and simply saved with  
an ".html" extension.

It shows a Safari icon in the Finder, and opens in Safari using  
either ShowURL or file.Launch.


Kirk


On Mar 9, 2007, at 12:32 PM, Gary Edge wrote:

> I create the file with the following code:
>
> dim xdoc as XmlDocument = app.activeXMLDocument
>    dim s as string
>    Dim file As FolderItem
>    Dim fileStream As TextOutputStream
>
>    s = xdoc.Transform( app.activeXSL )
>
>    file = app.ResourcesFolder.child( "temp.html" )
>    file.MacCreator = "MOZB"
>    fileStream = file.CreateTextFile
>    fileStream.Write s
>    fileStream.Close
>    ShowURL file.URLPath
>
> Yet it still opens in TextEdit.
>
> Gary

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to