Re: Difficulties with choose file of type - PowerPoint
Re: Difficulties with choose file of type - PowerPoint
- Subject: Re: Difficulties with choose file of type - PowerPoint
- From: Tom Robinson <email@hidden>
- Date: Fri, 23 May 2008 21:39:14 +1200
On 2008-05-23, at 15:10, Brett Powley wrote: Unless I'm missing something, this really does seem to be a bug.
The default type identifier for PowerPoint 2008 documents is "org.openxmlformats.presentationml.presentation"
However, choose file of type {"org.openxmlformats.presentationml.presentation"}
does not let you choose one of these; it has to be chosen using choose file of type {"PPTX"}
The real problem is: - some files only show up using the type identifier
- some files only show up using the file type
- you can't use both
This sounds like the same issue I struck (5926244)--if there's a file type (in my case TEXT) it seems to override the UTI. I thought UTIs were the new improved way of identifying files, but Apple seems to have changed tack:
10-May-2008 01:32 PM Tom Robinson:
* SUMMARY
'choose file of type "public.html"' fails to allow selection of HTML file
* STEPS TO REPRODUCE
1. In Safari Export Bookmarks
2. Do an mdls on the exported bookmarks to confirm the kMDItemContentType is public.html
3. Run an AppleScript to 'choose file of type "public.html"'
* RESULTS
The resulting 'Choose a File' dialog will not allow the exported bookmark file to be chosen.
* REGRESSION
Tiger was fine.
This was closed as expected behaviour. I think having to select all files of type text, rather than just HTML is a backward step, but as it's expected behaviour rather than a bug I haven't chased it further.
|
_______________________________________________
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