filetrash Command

Vic DiFranco vjdif at prodigy.net
Tue May 20 14:27:15 PDT 2008


Hello Everybody,

	I have run into a weird problem with the filetrash command. I  
generally can troubleshoot these problems myself, so as not to take  
up others' time. But I'm stumped now.

	I have a procedure which has always worked correctly. But a web site  
has made a slight change, requiring me to tweak my procedure.

	The procedure uses a previously downloaded text file on the desktop.  
The file is named "Transactions_Download.txt", which is the name  
given it by the web site it downloads from. The last line of my  
procedure is
	
	filetrash folder(Macintosh HD:users:vicdifranco:Desktop"),
		"Transactions_Download.txt"

	When this line executes, I am presented with a Disk Error dialog,  
and the file does not get trashed. It always had done in the past,  
when the text file had a different name. Now here is the weird part.  
In attempting to troubleshoot the problem, I duplicated the original  
file on the desktop, so it has the name "Transactions_Download  
copy.txt". That is, the word "copy" is affixed to the end of the file  
name. I modified the filetrash command to add the word "copy", and  
now no error message appears, and the file is indeed trashed. But if  
I delete the word "copy", the error dialog re-appears, and the file  
is not trashed.

	Do any of the forum experts see what I am doing wrong? I am careful  
to make sure I have not left a space in the file name, or other such  
trivial error, when I delete the word "copy". Somehow, Panorama  
doesn't like the file name "Transactions_Download.txt" which is the  
default name given by the web site.

	I have Panorama 5.5 on a Macintosh Powerbook G4, under OS 10.4.11

	Best regards,
	Vic DiFranco


More information about the Qna mailing list