Re: [AS]Re: Duplicate and rename folder path
Re: [AS]Re: Duplicate and rename folder path
- Subject: Re: [AS]Re: Duplicate and rename folder path
- From: Phil Burk <email@hidden>
- Date: Mon, 26 Feb 2001 18:40:17 -0500
Thanks Michelle. I was on that track, but didn't see it. :)
Phil
on 2/26/01 6:37 PM, Michelle Steiner at email@hidden wrote:
>
On 2/26/01 3:16 PM, Phil Burk <email@hidden> wrote:
>
>
> My question is this: Can I force AS to duplicate the folder in question and
>
> then remove the source folder (without its contents)? Very convoluted
>
> question. Maybe I could tell AS to duplicate just the contents of the
>
> folder?
>
>
Let's see if I understand this. You want the contents of folder A, but
>
not Folder A itself, duplicated to Folder B, and duplicated to Folder C?
>
>
This will do it for you.
>
>
set folderA to choose folder with prompt "Choose the source folder."
>
set folderB to choose folder with prompt "Choose the first destination
>
folder."
>
set folderC to choose folder with prompt "Choose the second destination
>
folder."
>
tell application "Finder"
>
duplicate entire contents of folderA to folderB
>
duplicate entire contents of folderA to folderC
>
end tell
>
>
--Michelle
>
>
----------------------------------------------------------------------
>
| Michelle Steiner | We're not human beings having a spiritual |
>
| | experience. We're spiritual beings |
>
| email@hidden | having a human experience. |
>
----------------------------------------------------------------------
>
----------------------------------------------------------------------------
Phil Burk
DesktopMedia, Inc.
email@hidden
"Morning comes whether you set the alarm or not."
- Ursula K. LeGuin, "Science Fiction and the Future" (1989)