On 22 mars 06, at 03:29, Jerry Fritschle wrote:
Earlier today I posted on the problem I had in renaming files on OS 9,
whereas the function worked alright in OS X. Again, the purpose was
to remove illegal characters, if any, from file names before sending
them to an FTP server.
It turned out that the issue had to do with the scope of the
folderitem property I was using. Basically, this property was held
by the dialog window (having been passed from the main window), where
the user is given a choice to rename the file or skip it. If I
instead passed a getsaveinfo string, which was used to create a
folderitem as a local variable within my renaming method, OS 9 was
happy.
This is just a guess, but I suppose that OS 9 would not rename the
file, when it was a window-wide property, because it was somehow
considered to be in use. Anyway, I"m passing this along to those of
you who responded, and to anyone else who might run across this.
Great to see the problem solved.
By the way: it is better to respond to the same thread than the one you
used to post the question (now, I've responded to your question. Then I
see your problem solved).
_______________________________________________
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>