Xojo Conferences
MBSSep2018MunichDE
XDCMay2019MiamiUSA

Platforms to show: All Mac Windows Linux Cross-Platform

ALMLocationsFolderMBS(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 = ALMLocationsFolderMBS(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 CreateALMLocationsFolder function.

Some examples using this method:

Feedback, Comments & Corrections

ALMModulesFolderMBS(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 = ALMModulesFolderMBS(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 CreateALMModulesFolder function.

Some examples using this method:

Feedback, Comments & Corrections

ALMPreferencesFolderMBS(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 = ALMPreferencesFolderMBS(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 CreateALMPreferencesFolder function.

Some examples using this method:

Feedback, Comments & Corrections

AppearanceFolderMBS(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 = AppearanceFolderMBS(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 CreateAppearanceFolder function.

Some examples using this method:

Feedback, Comments & Corrections

AppleExtrasFolderMBS(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 = AppleExtrasFolderMBS(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 CreateAppleExtrasFolder function.

Some examples using this method:

Feedback, Comments & Corrections

AppleMenuFolderMBS(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 = AppleMenuFolderMBS(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 CreateAppleMenuFolder function.

Some examples using this method:

Feedback, Comments & Corrections

AppleShareAuthenticationFolderMBS(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 = AppleShareAuthenticationFolderMBS(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 CreateAppleShareAuthenticationFolder function.

Some examples using this method:

Feedback, Comments & Corrections

AppleShareSupportFolderMBS(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 = AppleShareSupportFolderMBS(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 CreateAppleShareSupportFolder function.

Some examples using this method:

Feedback, Comments & Corrections

ApplicationsFolderMBS(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 = ApplicationsFolderMBS(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 CreateApplicationsFolder function.
On Windows, only the System Domain is supported.

Some examples using this method:

Feedback, Comments & Corrections

ApplicationSupportFolderMBS(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:
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 CreateApplicationSupportFolder function.

Realbasic ApplicationSupport function points to "/Library/Application Support" while ApplicationSupportFolderMBS points to different locations on my test system depending on the domain code:

-32768 -> "/Library/Application Support"
-32767 -> "/Library/Application Support"
-32766 -> nil
-32765 -> "/Library/Application Support"
-32764 -> nil
-32763 -> "/Users/cs/Library/Application Support"
-32762 -> "/Volumes/Mac OS 9/Systemordner/Application Support"
0 -> "/Library/Application Support"

At last it is your decision to use the correct one!

Some examples using this method:

Some FAQ entries about this method:

Feedback, Comments & Corrections

AssistantsFolderMBS(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 = AssistantsFolderMBS(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 CreateAssistantsFolder function.

Some examples using this method:

Feedback, Comments & Corrections

AudioAlertSoundsFolderMBS(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 = AudioAlertSoundsFolderMBS(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 CreateAudioAlertSoundsFolder function.

Some examples using this method:

Feedback, Comments & Corrections

AudioComponentsFolderMBS(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 = AudioComponentsFolderMBS(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 CreateAudioComponentsFolder function.

Some examples using this method:

Feedback, Comments & Corrections

AudioPlugInsFolderMBS(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 = AudioPlugInsFolderMBS(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 CreateAudioPlugInsFolder function.

Some examples using this method:

Feedback, Comments & Corrections

AudioSoundBanksFolderMBS(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 = AudioSoundBanksFolderMBS(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 CreateAudioSoundBanksFolder function.

Some examples using this method:

Feedback, Comments & Corrections

AudioSoundsFolderMBS(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 = AudioSoundsFolderMBS(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 CreateAudioSoundsFolder function.

Some examples using this method:

Feedback, Comments & Corrections

AudioSupportFolderMBS(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 = AudioSupportFolderMBS(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 CreateAudioSupportFolder function.

Some examples using this method:

Feedback, Comments & Corrections

CachedDataFolderMBS(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 = CachedDataFolderMBS(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 CreateCachedDataFolder function.

Some examples using this method:

Feedback, Comments & Corrections

CarbonLibraryFolderMBS(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 = CarbonLibraryFolderMBS(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 CreateCarbonLibraryFolder function.

Some examples using this method:

Feedback, Comments & Corrections

ChewableItemsFolderMBS(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 = ChewableItemsFolderMBS(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 CreateChewableItemsFolder function.

Some examples using this method:

Feedback, Comments & Corrections

classicDesktopFolderMBS(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 = ClassicDesktopFolderMBS(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 CreateClassicDesktopFolder function.

Some examples using this method:

Feedback, Comments & Corrections

ColorSyncCMMFolderMBS(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 = ColorSyncCMMFolderMBS(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 CreateColorSyncCMMFolder function.

Some examples using this method:

Feedback, Comments & Corrections

ColorSyncFolderMBS(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 = ColorSyncFolderMBS(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 CreateColorSyncFolder 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 Chart Plugins