Re: [AS] set file creator to...



Sembro la carta <balestra@xxxxxxxxxxxxx> wrote:

allora ricordavo bene :-P

Qui funziona senza problemi:

tell application "Finder"
set theFile to choose file
set theCreator to creator type of (theFile as alias)
set theCode to text returned of ¬
(display dialog "Creatore del file:" default answer theCreator button ¬
{"Annulla", "Cambia"} default button 2 with icon 1)
set creator type of theFile to theCode
end tell

--
This is the end
.



Relevant Pages