Re: empty trash on certain disk
Re: empty trash on certain disk
- Subject: Re: empty trash on certain disk
- From: Jay Louvion <email@hidden>
- Date: Fri, 22 Jul 2005 14:15:31 +0200
Title: Re: empty trash on certain disk
le 22/07/05 9:14, Sascha Kratky à email@hidden est réputé(e) avoir écrit :
>
> On 21.07.2005, at 11:02, Jay Louvion wrote:
>
>> le 21/07/05 10:22, Sascha Kratky à email@hidden est réputé(e)
>> avoir écrit :
>>
>>> Hi,
>>>
>>> is it possible to have the Finder empty the trash on a certain disk
>>> via AppleScript under Tiger?
>>> I tried
>>>
>>> tell application "Finder"
>>> empty trash of disk "HD"
>>> end tell
>>>
>>> or
>>>
>>> tell application "Finder"
>>> empty disk "HD"
>>> end tell
>>>
>>> but both scripts result in an error message.
>>>
>>> Thanks,
>>> Sascha
>>>
>>> _______________________________________________
>>
>>
>> When you say certain disk, what is it ? Network volume, partition, external
>> HD ?
>>
>
> The disk in question is a mounted disk volume. I want to empty the trash on
> the disk image via AppleScript,
> but the trash on all the other volumes should remain intact.
>
> Sascha
>
>
I’m not quite sure if I get the point; Are you talking about a mounted disk image (with read/write permissions ?) my question might be stupid, but I am curious: what exactly are you doing with a mounted disk image and with stuff going to the trash ?
Jay Louvion
Studio Casagrande
3, rue Müller-Brun
1208 Geneva
T+4122 840 3272
F+4122 840 3271
skypeme:
jaylouvion
www.studiocasagrande.com
_______________________________________________
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