Finder - getting file type
Finder - getting file type
- Subject: Finder - getting file type
- From: DizzyPenguin <email@hidden>
- Date: Thu, 23 Dec 2004 07:40:31 +0000
Hi all,
Is there anyone that can tell me why the below first snippet would *randomly* fail (on a OSX 10.3.7 system) while the second one doesn't, while choosing the same file?
--
start
set x to choose file
tell application "Finder"
to set y to file type of x
--
end
--
start
set x to choose file
set x to info for x
tell application "Finder"
to set y to file type of x
--
end
Regards,
Guy
--
DizzyPenguin * autoMAC-it
email : <email@hidden>
website : <http://www.dizzypenguin.com/automac-it/>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden