Re: choose file of type {}
Re: choose file of type {}
- Subject: Re: choose file of type {}
- From: Christopher Nebel <email@hidden>
- Date: Thu, 23 Oct 2008 18:13:56 -0700
Bear in mind that just because a file contains XML data doesn't mean
that the UTI system knows that. File type identification is based on
a number of things, but file-content-sniffing isn't one of them.
There has to be a definition of the document type somewhere, either in
the built-in list (the quoted document has it) or in some installed
application.
That said, if it seems to be excluding something that does in fact
have a conforming definition, then that's a bug, so send it along.
--Chris Nebel
AppleScript Engineering
On Oct 23, 2008, at 5:05 PM, Rainer Standke wrote:
Here the below works as expected under 10.4.11, but not under
10.5.5. It excludes way more files than it should.
Rainer
On Oct 23, 2008, at 16:51 , Luther Fuller wrote:
On Oct 23, 2008, at 6:29 PM, Philip Aker wrote:
On Oct 23, 2008, at 2:59 PM, Luther Fuller wrote:
You need the document "understanding_utis.pdf". Get it here ...
http://developer.apple.com/documentation/Carbon/Conceptual/understanding_utis/understand_utis_intro/chapter_1_section_1.html
For example, if you want to only choose pdf documents, you
write ...
choose file of type {"com.adobe.pdf"}
Actually, the OP seems to have a point:
choose file of type {"public.xml"}
doesn't work as expected on my setup (10.5.5 almost stock but not
a virgin user).
I just tried ...
choose file of type {"public.xml"}
and it worked perfectly. (10.5.5). At least, it appeared to me to
work perfectly.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden
)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (applescript-
email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden