• 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: creator & type codes???
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: creator & type codes???


  • Subject: Re: creator & type codes???
  • From: Gnarlodious <email@hidden>
  • Date: Mon, 14 Apr 2003 19:06:16 -0600

Entity Arthur spoke thus:

> I'd like to know on os X and os 9 how
> do you find out what the creator & file types are
This droplet returns a dialog wit some of a dropped file's record info, save
it as "application" to use it:


on run
set DraggedFile to choose file with prompt "Choose a file"
open DraggedFile
end run

on open DraggedFile
copy (info for the DraggedFile) to InfoRecord
tell InfoRecord
copy "File Name: " & name & return to Results
copy Results & "Created: " & creation date & return to Results
copy Results & "Modified: " & modification date & return to Results
copy Results & "Size: " & size & " bytes" & return to Results
copy Results & "File Creator: " & file creator & return to Results
copy Results & "File Type: " & file type & return to Results
copy Results & "Version: " & long version to Results
end tell
display dialog Results buttons {"Clipboard", "OK"} default button 2

if the button returned of the result is "Clipboard" then [nobreak]
set the clipboard to Results
end open



Hope that gets you going.

-- Rachel
http://www.Spectrumology.com
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: creator & type codes???
      • From: John Delacour <email@hidden>
References: 
 >creator & type codes??? (From: Arthur <email@hidden>)

  • Prev by Date: Re: Personality settings in Eudora
  • Next by Date: Re: creator & type codes???
  • Previous by thread: creator & type codes???
  • Next by thread: Re: creator & type codes???
  • Index(es):
    • Date
    • Thread