On Feb 12, 2006, at 1:38 PM, Sven E Olsson wrote:
Standard Example:
Dim f as Folderitem
Dim OutFile as TextOutputStream
OutFile = f.CreateTextFile
OutFile.Write myText
OutFile.close
f.MacType = "TEXT"
f.MacCreator = "Pbmk"
Sven,
As I read your reply I noticed that you are setting macType and
MacCreator after closing the file. I have gone back through a number
of my programs where I create both text and binarystream files and I
see where I place these statements between the point of obtaining the
folderitem and opening the file and it works in all of those programs.
Is there truly a preferred point in the file creation point to place
these statements? It seemed to me that you would want that
information in the folderitem before the file was created; but, I
guess, like f.name, it can occur after the file has been created.
Just curious.
=== A Mac addict in Tennessee ===
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>