Re: Labelling identically-named files in two Finder folders
Re: Labelling identically-named files in two Finder folders
- Subject: Re: Labelling identically-named files in two Finder folders
- From: has <email@hidden>
- Date: Mon, 31 Jan 2005 19:05:04 +0000
peter boardman wrote:
I want to compare two folders and label any files that appeared in
both (names the same, not bothered about comparing anything else).
This should work:
tell application "Finder"
set folder1 to folder "Path:To:First:Folder"
set folder2 to folder "Path:To:Second:Folder"
set label of every file of folder1 whose name is in (get name
of every file of folder2) to 5
set label of every file of folder2 whose name is in (get name
of every file of folder1) to 5
end tell
has
--
http://freespace.virgin.net/hamish.sanderson/
_______________________________________________
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