• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Script to replace lost file extension
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Script to replace lost file extension
      • From: Brett Conlon <email@hidden>
  • Prev by Date: Re: Repeats with list of just 1 file not working
  • Next by Date: Re: automatically dismissing the OSX crash dialog?
  • Previous by thread: Re: Script to replace lost file extension
  • Next by thread: Re: Script to replace lost file extension
  • Index(es):
    • Date
    • Thread