Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'AppleScript' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
AppleScript
Authored by: saint.duo on Jan 18, '02 08:42:40AM

You could also write a droplet applescript to handle this. I've got one that does just that around here somewhere...



[ Reply to This | # ]
Here's how to do it
Authored by: macubergeek on Jan 18, '02 10:48:14AM

courtesy of www.resexcellence.com

check: http://www.ResExcellence.com/applescripts/files.shtml#codes1
modify code to suit your needs, copy and paste into script editor and then save it as application.

property fileType : "TEXT" -- change to whatever you want
property creatorType : "ttxt" -- change to whatever you want
--
on open (theList)
tell application "Finder"
repeat with theItem in theList
set file type of theItem to fileType
set creator type of theItem to creatorType
end repeat
end tell
end open

Credits: www.resexcellence.com, specifically all props to Grierson




[ Reply to This | # ]