Re: creator & type codes???
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.