Hello I don't remember reading something about that.
When I ran this simple script under Lion :
tell application "Finder" set selected to (get the selection) as alias list item 1 of selected end tell
I assumed that the result would be an alias.
Alas, I got :
tell application "Finder" get selection --> {document file "aa copie 2.rtf" of folder "Desktop" of folder "yvankoenig" of folder "Users" of startup disk, document file "aa copie 3.rtf" of folder "Desktop" of folder "yvankoenig" of folder "Users" of startup disk} end tell Résultat : document file "aa copie 2.rtf" of folder "Desktop" of folder "yvankoenig" of folder "Users" of startup disk of application "Finder"
which is exactly what is returned without the "as alias list coercion".
Is it a documented behavior ?
Yvan KOENIG (VALLAURIS, France) samedi 14 janvier 2012 11:41:12
|