Re: How do I create and name duplicates in the same path as the originals?
Re: How do I create and name duplicates in the same path as the originals?
- Subject: Re: How do I create and name duplicates in the same path as the originals?
- From: Andy Wylie <email@hidden>
- Date: Thu, 10 Oct 2002 06:46:51 +1300
on Wed, 09 Oct 2002 20:49:01 +1000 Shane Stanley wrote:
>
Try something like this:
>
>
on open myitems
>
repeat with i from 1 to number of items in myitems
>
tell application "Finder"
>
duplicate item i of myitems
>
set name of result to ((i as text) & ".jpg")
>
end tell
>
end repeat
>
end open
Under 8.6 at least duplicate's result is the original file and the new one
has copy appended, changing the new file's name works but Finder usually
quits.
_____________________________ Andy
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.