Link to home
Start Free TrialLog in
Avatar of aa799
aa799

asked on

Apple script file names

I have a zip disk with over 300 folders and files on it.   I want to append ".doc" to all the word documents on the disk so that i can easily open them on a PC.

I have been able to figure out how to append it to one selected file name but i can't loop through them.

tell application "Finder"
     set x to name of selection as text
     set name of selection to x & ".doc"    
end tell
 
--
aa799
ASKER CERTIFIED SOLUTION
Avatar of weed
weed
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of aa799
aa799

ASKER

Thanks alot for the script.  seemed to work great.
Avatar of aa799

ASKER

I would have liked it to go through all the folders in the fold I have choosen but, This is good enough.  Thanks