Platforms to show: All Mac Windows Linux Cross-Platform

CFPreferencesMBS class

Type Topic Plugin Version macOS Windows Linux iOS Targets
class CoreFoundation MBS MacCF Plugin ✅ Yes ❌ No ❌ No ✅ Yes All
A class for the core foundation preferences services.
Example
Sub Open()
// in a listbox on a window, list all preferences applications for the current user
dim c as CFArrayMBS
dim p as CFPreferencesMBS
dim i as Integer
dim count as Integer
dim o as CFObjectMBS
dim s as CFStringMBS

p=new CFPreferencesMBS
c=p.CopyApplicationList(p.kCFPreferencesCurrentUser, p.kCFPreferencesAnyHost)

count=c.Count-1
for i=0 to count
o=c.Item(i)
if o isa CFStringMBS then
s=CFStringMBS(o)
window1.listbox1.AddRow s.str
end if
next

Title=str(ListBox1.ListCount)+" "+Title
End Sub

Search for Apple Developer documentation on CFPreferences for details on functionality these plugin functions provide.

This class has no sub classes.

Some examples using this class:

Blog Entries


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


CFObjectMBS   -   CFProxyMBS


The biggest plugin in space...