encore Re: choose file of type
encore Re: choose file of type
- Subject: encore Re: choose file of type
- From: Bill Briggs <email@hidden>
- Date: Fri, 25 Nov 2005 17:15:52 -0400
At 12:14 PM -0800 11/25/05, Paul Berkowitz wrote:
>I'm hoping that it has something to do with extensions, or even the
>creator's identifier, so that it can work with files that don't have the old style file types. For example, isn't there some way to specify .txt files as made by TextEdit, which do not have "TEXT" file types?
>
> choose file of type {"txt"}
>
>or {".txt"}, or {"ttxt"}, or {"text"}, or {"com.apple.TextEdit"}, or
>{"****"} - no .txt files created by TextEdit files are selectable in 'choose file'. Is there a way? GetInfo has TextEdit set as default app for opening them, if that matters.
TextEdit can open text files with a .txt extension, but it doesn't create them. As it's not an option in the "Save As..." dialog, how can you get TE to create a .txt file?
Info for a TE-generated rtf file shows this in the record
kind:"Rich Text Format (RTF) document", file type:"", file creator:"", type identifier:"public.rtf"
So it looks like the old type and creator codes aren't in play here. But I don't see how you can tie text files with a .txt extension to any TE files. It's not a format that application generates. As for getting TE to be the default application to open .txt files, you can do that in the Info window for any .txt file.
>Ultimately, I'm also hoping to be able to specify .doc or .xls files coming from Word or Excel on Windows, with no file types.
When I look at the info for an Excel file sent to me from a Windows machine, I see that the Mac is assigning the file type, but the creator is not the normal one you would get from an Excel file created on the Mac. Also note the "kind".
kind:"com.apple.appleworks.excel", file type:"XLS4", file creator:"«IC»", type identifier:"com.microsoft.excel.xls",
- web
_______________________________________________
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