Platforms to show: All Mac Windows Linux Cross-Platform

Back to RegistryFileTypeMBS class.

RegistryFileTypeMBS.AppFile as FolderItem

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Windows Registry MBS Win Plugin ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
The application to launch to open the file.
Example
dim r as new RegistryFileTypeMBS
r.Appfile=app.applicationfilembs // it is my file ;-)

(Read and Write property)

Some examples using this property:

RegistryFileTypeMBS.Description as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Windows Registry MBS Win Plugin ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
The description for this file type.
Example
dim r as new RegistryFileTypeMBS
r.description="Monkeybread File"

The text to show in the explorer in column view.
(Read and Write property)

RegistryFileTypeMBS.Extension as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Windows Registry MBS Win Plugin ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
The extension for this file type.
Example
dim r as new RegistryFileTypeMBS

r.extension=".MBS"

The extension should start with a dot follow by 3 uppercase letters and it should be unique. But as there are more file types than combinations of 3 letters this may be difficult...
(Read and Write property)

RegistryFileTypeMBS.FileType as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Windows Registry MBS Win Plugin ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
A internal unique signature for this file type.
Example
dim r as new RegistryFileTypeMBS

r.FileType="MBSFile"

May contain any character except chr(0) and should be ANSI encoded.
(Read and Write property)

RegistryFileTypeMBS.Iconfile as FolderItem

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Windows Registry MBS Win Plugin ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
The file with the icon.
Example
dim r as new RegistryFileTypeMBS

r.iconfile=app.applicationfileMBS // it is my file ;-)

You can get the icon out of your application (ID 0 is the default icon).
But you can also use DLL files like "Shell32.dll" for some nice icons.
Last but not least you can use an ICO file which Iconographer can create for you from your Mac Icons.
(Read and Write property)

RegistryFileTypeMBS.IconID as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Windows Registry MBS Win Plugin ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
The ID of the Icon to use.
Example
dim r as new RegistryFileTypeMBS

r.iconid=3

Your icon file may contain more than one icon. Here you can specify which one to use. First is ID 0.
(Read and Write property)

RegistryFileTypeMBS.OpenDescription as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Windows Registry MBS Win Plugin ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
The text to show in the context menu for Open.
Example
dim r as new RegistryFileTypeMBS

r.OpenDescription="Open MBS file"

If you don't provide an OpenDescription you'll get "Open".
Here you can describe the default action.
e.g. Stuffit Expander could say "Expand file".
(Read and Write property)

Some examples using this property:

The items on this page are in the following plugins: MBS Win Plugin.


The biggest plugin in space...