• 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: Luther Fuller <email@hidden>
  • Date: Tue, 24 Apr 2007 10:26:56 -0500

Knowing the type identifier of a file may help. Or it may not. You can examine the type identifier with this short script ...

on open dropList
	tell application "Finder"
		repeat with itemRef in dropList
			set itemName to (name of itemRef)
			set itemCrea to (creator type of itemRef)
			set itemType to (file type of itemRef)
			set itemIdent to (type identifier of (info for itemRef))
			display dialog "  Name = " & itemName & return ¬
				& "Creator = " & itemCrea & return ¬
				& "    Type = " & itemType & return ¬
				& "Identifier = " & itemIdent
		end repeat
	end tell
end open

_______________________________________________
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
References: 
 >Script to replace lost file extension (From: "Simon, Garry" <email@hidden>)
 >Re: Script to replace lost file extension (From: Wayne Melrose <email@hidden>)
 >Re: Script to replace lost file extension (From: Emmanuel <email@hidden>)

  • Prev by Date: Re: Using the 'Create Archive' - File Menu Command
  • Next by Date: Re: Using the 'Create Archive' - File Menu Command
  • Previous by thread: Re: Script to replace lost file extension
  • Next by thread: Re: Script to replace lost file extension
  • Index(es):
    • Date
    • Thread