Re: TextEdit suppresses a folder.
Re: TextEdit suppresses a folder.
- Subject: Re: TextEdit suppresses a folder.
- From: kai <email@hidden>
- Date: Tue, 15 Mar 2005 01:36:37 +0000
On Tue, 15 Mar 2005 01:00:41 +0100, Emmanuel wrote:
At 11:39 PM +0000 3/14/05, kai wrote:
On Mon, 14 Mar 2005 23:53:47 +0100, Emmanuel wrote:
save front document as "name" in working_folder
where working_folder is "Macintosh HD:Users:theuser:Documents:"
Now his "Documents" is a file of 2 bytes.
I think he would be very glad if someone can propose rapidly a way
to recover some of his stuff.
Ouch! :-(
I forgot to say, the user was scripting TextEdit.
I just tried it, Emmanuel (but obviously not on my documents folder).
Here, TextEdit's dictionary suggests that the target file should be
Unicode text - but that doesn't work for me. Changing the the target to
an alias allows the save to proceed. However, if the target just
happens to be a folder, it is converted to a generic document file,
containing the contents of TextEdit's front window. The text is saved
in rtf format, although no name extension is added in the Finder. The
title of TextEdit's front window changes to reflect the folder name.
The folder is no more. Its former contents are no more. (That reminds
me - time to do a backup...)
This is a serious issue and I'm grateful that you brought it to our
attention. I only wish that I could come up with a positive suggestion
for the poor victim.
---
kai
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden