Xojo Conferences
XDCMay2019MiamiUSA

Platforms to show: All Mac Windows Linux Cross-Platform

InternetSearchSitesFolderMBS(domain as Integer) as folderitem
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
global method Special Folders MBS Util Plugin Yes No No Yes, macOS only No
Function: Returns a folderitem to this folder if it exists on that system.
Example:
const kUserDomain = -32763
dim f as folderitem = InternetSearchSitesFolderMBS(kUserDomain)
Notes:
Note that not every folder exists on every Mac OS Version!
The codes for domain are (The Demo includes a module for these):
-32768On System Disk
-32767On Appropriate Disk
-32766System Domain, on Mac OS X mostly inside the folder /System.
-32765Local Domain (on Netbooting for example)
-32764Network Domain (on Netbooting for example)
-32763User Domain, on Mac OS X mostly inside the users folder.
-32762Classic Domain, the current used Classic System folder.
Also take a look on the CreateInternetSearchSitesFolder function.

Some examples using this method:

Feedback, Comments & Corrections

InternetSitesFolderMBS(domain as Integer) as folderitem
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
global method Special Folders MBS Util Plugin Yes No No Yes, macOS only No
Function: Returns a folderitem to this folder if it exists on that system.
Example:
const kUserDomain = -32763
dim f as folderitem = InternetSitesFolderMBS(kUserDomain)
Notes:
Note that not every folder exists on every Mac OS Version!
The codes for domain are (The Demo includes a module for these):
-32768On System Disk
-32767On Appropriate Disk
-32766System Domain, on Mac OS X mostly inside the folder /System.
-32765Local Domain (on Netbooting for example)
-32764Network Domain (on Netbooting for example)
-32763User Domain, on Mac OS X mostly inside the users folder.
-32762Classic Domain, the current used Classic System folder.
Also take a look on the CreateInternetSitesFolder function.

Some examples using this method:

Feedback, Comments & Corrections

ISSDownloadsFolderMBS(domain as Integer) as folderitem
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
global method Special Folders MBS Util Plugin Yes No No Yes, macOS only No
Function: Returns a folderitem to this folder if it exists on that system.
Example:
const kUserDomain = -32763
dim f as folderitem = ISSDownloadsFolderMBS(kUserDomain)
Notes:
Note that not every folder exists on every Mac OS Version!
The codes for domain are (The Demo includes a module for these):
-32768On System Disk
-32767On Appropriate Disk
-32766System Domain, on Mac OS X mostly inside the folder /System.
-32765Local Domain (on Netbooting for example)
-32764Network Domain (on Netbooting for example)
-32763User Domain, on Mac OS X mostly inside the users folder.
-32762Classic Domain, the current used Classic System folder.
Also take a look on the CreateISSDownloadsFolder function.

Some examples using this method:

Feedback, Comments & Corrections

KernelExtensionsFolderMBS(domain as Integer) as folderitem
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
global method Special Folders MBS Util Plugin Yes No No Yes, macOS only No
Function: Returns a folderitem to this folder if it exists on that system.
Example:
const kUserDomain = -32763
dim f as folderitem = KernelExtensionsFolderMBS(kUserDomain)
Notes:
Note that not every folder exists on every Mac OS Version!
The codes for domain are (The Demo includes a module for these):
-32768On System Disk
-32767On Appropriate Disk
-32766System Domain, on Mac OS X mostly inside the folder /System.
-32765Local Domain (on Netbooting for example)
-32764Network Domain (on Netbooting for example)
-32763User Domain, on Mac OS X mostly inside the users folder.
-32762Classic Domain, the current used Classic System folder.
Also take a look on the CreateKernelExtensionsFolder function.

Some examples using this method:

Feedback, Comments & Corrections

KeychainFolderMBS(domain as Integer) as folderitem
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
global method Special Folders MBS Util Plugin Yes No No Yes, macOS only No
Function: Returns a folderitem to this folder if it exists on that system.
Example:
const kUserDomain = -32763
dim f as folderitem = KeychainFolderMBS(kUserDomain)
Notes:
Note that not every folder exists on every Mac OS Version!
The codes for domain are (The Demo includes a module for these):
-32768On System Disk
-32767On Appropriate Disk
-32766System Domain, on Mac OS X mostly inside the folder /System.
-32765Local Domain (on Netbooting for example)
-32764Network Domain (on Netbooting for example)
-32763User Domain, on Mac OS X mostly inside the users folder.
-32762Classic Domain, the current used Classic System folder.
Also take a look on the CreateKeychainFolder function.

Some examples using this method:

Feedback, Comments & Corrections

LauncherItemsFolderMBS(domain as Integer) as folderitem
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
global method Special Folders MBS Util Plugin Yes No No Yes, macOS only No
Function: Returns a folderitem to this folder if it exists on that system.
Example:
const kUserDomain = -32763
dim f as folderitem = LauncherItemsFolderMBS(kUserDomain)
Notes:
Note that not every folder exists on every Mac OS Version!
The codes for domain are (The Demo includes a module for these):
-32768On System Disk
-32767On Appropriate Disk
-32766System Domain, on Mac OS X mostly inside the folder /System.
-32765Local Domain (on Netbooting for example)
-32764Network Domain (on Netbooting for example)
-32763User Domain, on Mac OS X mostly inside the users folder.
-32762Classic Domain, the current used Classic System folder.
Also take a look on the CreateLauncherItemsFolder function.

Some examples using this method:

Feedback, Comments & Corrections

LocalesFolderMBS(domain as Integer) as folderitem
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
global method Special Folders MBS Util Plugin Yes No No Yes, macOS only No
Function: Returns a folderitem to this folder if it exists on that system.
Example:
const kUserDomain = -32763
dim f as folderitem = LocalesFolderMBS(kUserDomain)
Notes:
Note that not every folder exists on every Mac OS Version!
The codes for domain are (The Demo includes a module for these):
-32768On System Disk
-32767On Appropriate Disk
-32766System Domain, on Mac OS X mostly inside the folder /System.
-32765Local Domain (on Netbooting for example)
-32764Network Domain (on Netbooting for example)
-32763User Domain, on Mac OS X mostly inside the users folder.
-32762Classic Domain, the current used Classic System folder.
Also take a look on the CreateLocalesFolder function.

Some examples using this method:

Feedback, Comments & Corrections

LogsFolderMBS(domain as Integer) as folderitem
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
global method Special Folders MBS Util Plugin 3.4 Yes No No Yes, macOS only No
Function: The log files folder.
Example:
const kUserDomain = -32763
dim f as folderitem = LogsFolderMBS(kUserDomain)
Notes:
Note that not every folder exists on every Mac OS Version!
The codes for domain are (The Demo includes a module for these):
-32768On System Disk
-32767On Appropriate Disk
-32766System Domain, on Mac OS X mostly inside the folder /System.
-32765Local Domain (on Netbooting for example)
-32764Network Domain (on Netbooting for example)
-32763User Domain, on Mac OS X mostly inside the users folder.
-32762Classic Domain, the current used Classic System folder.
Also take a look on the CreateLogsFolderMBS function.

Some examples using this method:

Feedback, Comments & Corrections

MacOSReadMesFolderMBS(domain as Integer) as folderitem
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
global method Special Folders MBS Util Plugin Yes No No Yes, macOS only No
Function: Returns a folderitem to this folder if it exists on that system.
Example:
const kUserDomain = -32763
dim f as folderitem = MacOSReadMesFolderMBS(kUserDomain)
Notes:
Note that not every folder exists on every Mac OS Version!
The codes for domain are (The Demo includes a module for these):
-32768On System Disk
-32767On Appropriate Disk
-32766System Domain, on Mac OS X mostly inside the folder /System.
-32765Local Domain (on Netbooting for example)
-32764Network Domain (on Netbooting for example)
-32763User Domain, on Mac OS X mostly inside the users folder.
-32762Classic Domain, the current used Classic System folder.
Also take a look on the CreateMacOSReadMesFolder function.

Some examples using this method:

Feedback, Comments & Corrections

MIDIDriversFolderMBS(domain as Integer) as folderitem
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
global method Special Folders MBS Util Plugin Yes No No Yes, macOS only No
Function: Returns a folderitem to this folder if it exists on that system.
Example:
const kUserDomain = -32763
dim f as folderitem = MIDIDriversFolderMBS(kUserDomain)
Notes:
Note that not every folder exists on every Mac OS Version!
The codes for domain are (The Demo includes a module for these):
-32768On System Disk
-32767On Appropriate Disk
-32766System Domain, on Mac OS X mostly inside the folder /System.
-32765Local Domain (on Netbooting for example)
-32764Network Domain (on Netbooting for example)
-32763User Domain, on Mac OS X mostly inside the users folder.
-32762Classic Domain, the current used Classic System folder.
Also take a look on the CreateMIDIDriversFolder function.

Some examples using this method:

Feedback, Comments & Corrections

ModemScriptsFolderMBS(domain as Integer) as folderitem
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
global method Special Folders MBS Util Plugin Yes No No Yes, macOS only No
Function: Returns a folderitem to this folder if it exists on that system.
Example:
const kUserDomain = -32763
dim f as folderitem = ModemScriptsFolderMBS(kUserDomain)
Notes:
Note that not every folder exists on every Mac OS Version!
The codes for domain are (The Demo includes a module for these):
-32768On System Disk
-32767On Appropriate Disk
-32766System Domain, on Mac OS X mostly inside the folder /System.
-32765Local Domain (on Netbooting for example)
-32764Network Domain (on Netbooting for example)
-32763User Domain, on Mac OS X mostly inside the users folder.
-32762Classic Domain, the current used Classic System folder.
Also take a look on the CreateModemScriptsFolder function.

Some examples using this method:

Feedback, Comments & Corrections

MovieDocumentsFolderMBS(domain as Integer) as folderitem
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
global method Special Folders MBS Util Plugin Yes No No Yes, macOS only No
Function: Returns a folderitem to this folder if it exists on that system.
Example:
const kUserDomain = -32763
dim f as folderitem = MovieDocumentsFolderMBS(kUserDomain)
Notes:
Note that not every folder exists on every Mac OS Version!
The codes for domain are (The Demo includes a module for these):
-32768On System Disk
-32767On Appropriate Disk
-32766System Domain, on Mac OS X mostly inside the folder /System.
-32765Local Domain (on Netbooting for example)
-32764Network Domain (on Netbooting for example)
-32763User Domain, on Mac OS X mostly inside the users folder.
-32762Classic Domain, the current used Classic System folder.
Also take a look on the CreateMovieDocumentsFolder function.

Some examples using this method:

Feedback, Comments & Corrections

MultiprocessingFolderMBS(domain as Integer) as folderitem
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
global method Special Folders MBS Util Plugin Yes No No Yes, macOS only No
Function: Returns a folderitem to this folder if it exists on that system.
Example:
const kUserDomain = -32763
dim f as folderitem = MultiprocessingFolderMBS(kUserDomain)
Notes:
Note that not every folder exists on every Mac OS Version!
The codes for domain are (The Demo includes a module for these):
-32768On System Disk
-32767On Appropriate Disk
-32766System Domain, on Mac OS X mostly inside the folder /System.
-32765Local Domain (on Netbooting for example)
-32764Network Domain (on Netbooting for example)
-32763User Domain, on Mac OS X mostly inside the users folder.
-32762Classic Domain, the current used Classic System folder.
Also take a look on the CreateMultiprocessingFolder function.

Some examples using this method:

Feedback, Comments & Corrections

MusicDocumentsFolderMBS(domain as Integer) as folderitem
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
global method Special Folders MBS Util Plugin Yes No No Yes, macOS only No
Function: Returns a folderitem to this folder if it exists on that system.
Example:
const kUserDomain = -32763
dim f as folderitem = MusicDocumentsFolderMBS(kUserDomain)
Notes:
Note that not every folder exists on every Mac OS Version!
The codes for domain are (The Demo includes a module for these):
-32768On System Disk
-32767On Appropriate Disk
-32766System Domain, on Mac OS X mostly inside the folder /System.
-32765Local Domain (on Netbooting for example)
-32764Network Domain (on Netbooting for example)
-32763User Domain, on Mac OS X mostly inside the users folder.
-32762Classic Domain, the current used Classic System folder.
Also take a look on the CreateMusicDocumentsFolder function.

Some examples using this method:

Feedback, Comments & Corrections

OpenDocEditorsFolderMBS(domain as Integer) as folderitem
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
global method Special Folders MBS Util Plugin Yes No No Yes, macOS only No
Function: Returns a folderitem to this folder if it exists on that system.
Example:
const kUserDomain = -32763
dim f as folderitem = OpenDocEditorsFolderMBS(kUserDomain)
Notes:
Note that not every folder exists on every Mac OS Version!
The codes for domain are (The Demo includes a module for these):
-32768On System Disk
-32767On Appropriate Disk
-32766System Domain, on Mac OS X mostly inside the folder /System.
-32765Local Domain (on Netbooting for example)
-32764Network Domain (on Netbooting for example)
-32763User Domain, on Mac OS X mostly inside the users folder.
-32762Classic Domain, the current used Classic System folder.
Also take a look on the CreateOpenDocEditorsFolder function.

Some examples using this method:

Feedback, Comments & Corrections

OpenDocFolderMBS(domain as Integer) as folderitem
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
global method Special Folders MBS Util Plugin Yes No No Yes, macOS only No
Function: Returns a folderitem to this folder if it exists on that system.
Example:
const kUserDomain = -32763
dim f as folderitem = OpenDocFolderMBS(kUserDomain)
Notes:
Note that not every folder exists on every Mac OS Version!
The codes for domain are (The Demo includes a module for these):
-32768On System Disk
-32767On Appropriate Disk
-32766System Domain, on Mac OS X mostly inside the folder /System.
-32765Local Domain (on Netbooting for example)
-32764Network Domain (on Netbooting for example)
-32763User Domain, on Mac OS X mostly inside the users folder.
-32762Classic Domain, the current used Classic System folder.
Also take a look on the CreateOpenDocFolder function.

Some examples using this method:

Feedback, Comments & Corrections

OpenDocLibrariesFolderMBS(domain as Integer) as folderitem
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
global method Special Folders MBS Util Plugin Yes No No Yes, macOS only No
Function: Returns a folderitem to this folder if it exists on that system.
Example:
const kUserDomain = -32763
dim f as folderitem = OpenDocLibrariesFolderMBS(kUserDomain)
Notes:
Note that not every folder exists on every Mac OS Version!
The codes for domain are (The Demo includes a module for these):
-32768On System Disk
-32767On Appropriate Disk
-32766System Domain, on Mac OS X mostly inside the folder /System.
-32765Local Domain (on Netbooting for example)
-32764Network Domain (on Netbooting for example)
-32763User Domain, on Mac OS X mostly inside the users folder.
-32762Classic Domain, the current used Classic System folder.
Also take a look on the CreateOpenDocLibrariesFolder function.

Some examples using this method:

Feedback, Comments & Corrections

OpenDocShellPlugInsFolderMBS(domain as Integer) as folderitem
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
global method Special Folders MBS Util Plugin Yes No No Yes, macOS only No
Function: Returns a folderitem to this folder if it exists on that system.
Example:
const kUserDomain = -32763
dim f as folderitem = OpenDocShellPlugInsFolderMBS(kUserDomain)
Notes:
Note that not every folder exists on every Mac OS Version!
The codes for domain are (The Demo includes a module for these):
-32768On System Disk
-32767On Appropriate Disk
-32766System Domain, on Mac OS X mostly inside the folder /System.
-32765Local Domain (on Netbooting for example)
-32764Network Domain (on Netbooting for example)
-32763User Domain, on Mac OS X mostly inside the users folder.
-32762Classic Domain, the current used Classic System folder.
Also take a look on the CreateOpenDocShellPlugInsFolder function.

Some examples using this method:

Feedback, Comments & Corrections

PictureDocumentsFolderMBS(domain as Integer) as folderitem
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
global method Special Folders MBS Util Plugin Yes Yes No Yes No
Function: Returns a folderitem to this folder if it exists on that system.
Example:
const kUserDomain = -32763
dim f as folderitem = PictureDocumentsFolderMBS(kUserDomain)
Notes:
Note that not every folder exists on every Mac OS Version!
The codes for domain are (The Demo includes a module for these):
-32768On System Disk
-32767On Appropriate Disk
-32766System Domain, on Mac OS X mostly inside the folder /System.
-32765Local Domain (on Netbooting for example)
-32764Network Domain (on Netbooting for example)
-32763User Domain, on Mac OS X mostly inside the users folder.
-32762Classic Domain, the current used Classic System folder.
Also take a look on the CreatePictureDocumentsFolder function.
As there is no such folder on Mac OS Classic, you always get nil there.

Some examples using this method:

Feedback, Comments & Corrections

PreferencePanesFolderMBS(domain as Integer) as folderitem
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
global method Special Folders MBS Util Plugin 3.4 Yes No No Yes, macOS only No
Function: The preferences panes folder.
Example:
const kUserDomain = -32763
dim f as folderitem = PreferencePanesFolderMBS(kUserDomain)
Notes:
Note that not every folder exists on every Mac OS Version!
The codes for domain are (The Demo includes a module for these):
-32768On System Disk
-32767On Appropriate Disk
-32766System Domain, on Mac OS X mostly inside the folder /System.
-32765Local Domain (on Netbooting for example)
-32764Network Domain (on Netbooting for example)
-32763User Domain, on Mac OS X mostly inside the users folder.
-32762Classic Domain, the current used Classic System folder.
Also take a look on the CreatePreferencePanesFolderMBS function.

Some examples using this method:

Feedback, Comments & Corrections

PreferencesFolderMBS(domain as Integer) as folderitem
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
global method Special Folders MBS Util Plugin Yes No No Yes, macOS only No
Function: Returns a folderitem to this folder if it exists on that system.
Example:
dim f as folderitem

f=preferencesFolderMBS(-32763)
if f=nil then // On Windows always nil
f=applicationsupportFolderMBS(-32763)
end if

msgBox f.absolutePath

// example output:
// "Mac OS X:Users:cs:Library:Preferences:" on Mac OS X
// "Mac OS 9:Systemordner:Preferences" on a german Mac OS 9
// "C:\Dokumente und Einstellungen\Christian\Anwendungsdaten\" on a german Windows XP.
Notes:
Note that not every folder exists on every Mac OS Version!
The codes for domain are (The Demo includes a module for these):
-32768On System Disk
-32767On Appropriate Disk
-32766System Domain, on Mac OS X mostly inside the folder /System.
-32765Local Domain (on Netbooting for example)
-32764Network Domain (on Netbooting for example)
-32763User Domain, on Mac OS X mostly inside the users folder.
-32762Classic Domain, the current used Classic System folder.
Also take a look on the CreatePreferencesFolder function.

Some examples using this method:

Feedback, Comments & Corrections

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




Links
MBS Xojo Plugins