Xojo Conferences

Platforms to show: All Mac Windows Linux Cross-Platform

FrameworksFolderMBS(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.
const kUserDomain = -32763
dim f as folderitem = FrameworksFolderMBS(kUserDomain)
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 CreateFrameworksFolder function.

Some examples using this method:

Feedback, Comments & Corrections

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

MBS Xojo Plugins