I have a script that renames a file from one hting to something else
Is there a way i can capture the original name in the comments field
info for doesn’t show the comments how do i get them?
I have a script that renames a file from one hting to something else
Is there a way i can capture the original name in the comments field
info for doesn’t show the comments how do i get them?
Sure:
set theFile to choose file
tell application “Finder”
set comment of theFile to name of theFile
set name of theFile to “Some New File Name”
end tell
thx
I was rushing and not paying attention
i had a (s) on the end of my comment and it was showing as a variable (comments) duh
It also has to be in a finder tell statement