Re: trapping an apple event
Re: trapping an apple event
- Subject: Re: trapping an apple event
- From: Michelle Steiner <email@hidden>
- Date: Fri, 15 Jun 2001 14:03:02 -0700
On 6/15/01 8:51 AM, Andrew Donnelly <email@hidden>
wrote:
>
Hi all, I am wondering if anyone has any ideas. I have a folder that
>
remote users drop image files in. User 'A' might drop off a file called
>
"1.eps" , user 'B' now comes along and needs to drop off a file called
>
"1.eps" but is confronted with the "file already exists" dialog. Is it
>
possible to trap this so that user 'B' ' would not receive the dialog and
>
the file would be renamed to say "1_01.eps"? It is not an option to have
>
the file dropped into one folder and pushed to another, the file must stay
>
where it is dropped off.
check to see if the file exists in the destination folder; if it does,
then rename the file before moving it.
--Michelle
----------------------------------------------------------------------
| Michelle Steiner | We're not human beings having a spiritual |
| | experience. We're spiritual beings |
| email@hidden | having a human experience. |
----------------------------------------------------------------------