Re: Alias replacing script
Re: Alias replacing script
- Subject: Re: Alias replacing script
- From: Bill White <email@hidden>
- Date: Tue, 06 Jul 2004 12:59:58 -0400
>
Could you please help me in creating an apple script that replaces all the
>
aliases in a specified folder with the originals? I've searched around and
>
found none.. I think this one could be very useful.
Max,
Simplistically, something like the following would do it:
set originalFolder to choose folder
tell application "Finder"
set aliasFileList to every alias file of originalFolder
repeat with i from 1 to count aliasFileList
set originalFile to original item of (item i of aliasFileList)
move originalFile to originalFolder with replacing
end repeat
end tell
HTH,
Bill
_______________________________________________
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.