realbasic-nug
[Top] [All Lists]

Re: FileType OS X RB2006r2

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: FileType OS X RB2006r2
From: Hans-Georg <pantarei at mac dot com>
Date: Tue, 25 Apr 2006 22:11:47 +0200
Delivered-to: realbasic-nug at lists dot realsoftware dot com
References: <3CFF6704-76DF-4C95-8B4F-170B162E78BB at xhtmlsoft dot com> <76456BA0-FCB4-4343-AE77-3A54E1EE005C at mac dot com> <00D463D7-9A9C-4996-A63A-5F304A0E7FE9 at mac dot com> <a06200717c0742ca6b3b4 at [10 dot 0 dot 1 dot 2]>
Am 25.04.2006 um 21:46 schrieb Joseph J. Strout:

(Your app could open an app with a type of XXXX, *or* with no type and one of your defined extensions, but not an app with the right extension and a type of TEXT.)

May I guess that is a theoretical explanation which you didn't prove in code? A case of how it should be?

My experience is this, again, the opposite:

If you want to display only files with a specific extension, which may have a MacType or may not, in an OpenDialog, you have possibilities: First, use the MBS plugin. Second, create a filetype with the correct extension but with a dummy MacType.

In this case only files with the extension like for example .xml or. html are displayed, even if they have a MacType like TEXT.

There is only risk: that your dummy value is used as MacType by someone, like XXXX (that is in the Apple reserved space) could be used by Apple for the next great thing.

Hans-Georg



_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>


<Prev in Thread] Current Thread [Next in Thread>