What I really want to say is:
What I really want to say is:
- Subject: What I really want to say is:
- From: Rachel Cogent <email@hidden>
- Date: Sun, 23 Sep 2001 19:35:36 -0600
Change every file of every subfolder of selection from creator AppleScript
to creator Smile.
But for some unknown reason it's not that easy.
I think this is a self calling subroutine:
on walkMe(nextFolder)
try
tell application "Finder"
set folderList to every item of nextFolder
end tell
repeat with newFile in folderList
set tempFileType to the file type of newFile
if tempFileType is "fold" then
walkMe(newFile)
else
log name of newFile as string
end if
end repeat
end try
end walkMe
If so, I need to shoehorn it into this one:
tell application "Finder"
try
set sel to selection as alias
if (sel's kind) = "folder" then
try
set allFiles to every item of sel as alias list
on error errMsg number errNum
set allFiles to sel's files as alias as list
end try
end if
on error errMsg number errNum
tell me to display dialog errMsg & return & return & errNum
end try
end tell
To return an alias list of all files in all folders and subfolders.
Correct me if I'm wrong.