• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Help moving&renaming files.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Help moving&renaming files.


  • Subject: Help moving&renaming files.
  • From: Andrea Riciputi <email@hidden>
  • Date: Thu, 21 Jun 2001 11:53:17 +0200

Hi there,
I need help. I'm working at a little droplet that has to move some files
in a new folder changing their name and creator type.

I've tries something like this, but without success:

on open these_items

tell application "Finder"

...........

repeat with i from 1 to the count of these_items

set creator type of item i of these_items to "ALFA"
set the name of item i of these_items to target_name
move item i of these_items to folder target_folder of
Working_Folder

end repeat

end tell

end open

Obviously after changing creator type and name I can't reach (and move)
the item anymore. Vice versa if I write:

....
move item i of these_items to folder target_folder of Working_Folder
set creator type of item i of these_items to "ALFA"
set the name of item i of these_items to target_name
....

after moving the item I can't change its name and creator type anymore.

Any suggestion???

Thanks in advance,
Andrea.

----------------------------------------------------------
Riciputi Andrea

mailto:email@hidden
"On January 24th, Apple Computer will introduce Macintosh.
And you'll see why 1984 won't be like '1984' "
----------------------------------------------------------


  • Prev by Date: Re: Sending an email from Excel97
  • Next by Date: Re: Problems using Tanaka's osax
  • Previous by thread: Re: Stuffit Commands and Lists
  • Next by thread: AS getting slower why?
  • Index(es):
    • Date
    • Thread