Re: Script to replace lost file extension
Re: Script to replace lost file extension
- Subject: Re: Script to replace lost file extension
- From: "Stockly, Ed" <email@hidden>
- Date: Tue, 24 Apr 2007 11:44:42 -0700
- Thread-topic: Script to replace lost file extension
>>> There must be a shell script that can determine what a file's extension was.
I don't think so, but there may be an AppleScript solution.
Ask finder for the file type and creator type. You may get a result that
could tell you what extension to use.
You may need to do some trial and error, and this would only work with those
files you've mapped a file/creator types to a specific extension, but it
should work if you're not dealing with an unlimited variety of file types.
If you're interested I could post a sample of how it would work.
HTH,
ES
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden