[futurebasic] Re: [FB] trash finding

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : July 2001 : Group Archive : Group : All Groups

From: Robert Covington <artlythere@...>
Date: Tue, 17 Jul 2001 14:51:18 -0400
>On Tuesday, 17 July 2001 9:30 PM, Robert Covington
><artlythere@...> wrote:
>>
>>After seeing a thing on the pouch regarding this, I wrote Mr. Evans a while
>>back on this topic in the hopes he had solved it but got no
>>reply.

>>I need a way to send files to the trash.
>You should be able to use FindFolder:
> _"trsh" and _kOnSystemDisk, to get the local trash.
> _"empt" and the volRef of the volume, to get a network trash.
>
>If thats tooo much work, send an AppleEvent to the Finder with the FSSpec
>of the item you want to trash, and it will do it for you.
>
>
>Jamin


Jamin,
Getting the local trash I can do, but each volume has its own trash folder
I understand, so if the item is on another disk, the findfolder approach
fails for those if the pouch is a guide.

The Apple event approach sounds nice and the way to go though...

How might I do this? Anybody?  (sending events is new to me)


Robert




>>in this case, it would be for image files.
>>
>>Getting the trash folder vref is easy enough for the startup disk, but how
>>would one get the folders for other volumes, then move them
>>there?
>>
>>Any help much appreciated.
>>
>>Robert Covington
>>
>>
>>
>>
>>--
>>To unsubscribe, send ANY message to
>><futurebasic-unsubscribe@...>
>>
>
>
>
>
>--
>To unsubscribe, send ANY message to <futurebasic-unsubscribe@...>