/ Published in: AppleScript
![](/img/icon_sav.png?v3)
Displays the file type and file creator designations for any Mac OS document or application.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
on open (fileList) tell application "Finder" set myFile to item 1 of fileList if kind of myFile is not "folder" then display dialog ¬ "file creator: " & (the creator type of (myFile as alias)) & return & ¬ "file type: " & (the file type of (myFile as alias)) end tell end open
Comments
![RSS Feed for Comments RSS Icon](/images/rss.png?v3)