LSSharedFileListMBS constants

Online Documentation   -   Statistics   -   FAQ   -   Plugin Parts (All, Dependencies)   -   Class hierarchy

New in Version 22.2 22.3 22.4 22.5 23.0 23.1 23.2 23.3 23.4 23.5 24.0 24.1

The list of the   topics,   classes,   interfaces,   controls,   modules,   global methods by category,   global methods by name,   screenshots,   licenses   and   examples.

Platforms to show: All Mac Windows Linux Cross-Platform

Back to LSSharedFileListMBS class.

LSSharedFileListMBS.kFavoriteItems = 2

Type Topic Plugin Version
const Login Items MBS MacFrameworks Plugin 9.8
One of the list type constants.
Example
dim l as new LSSharedFileListMBS(LSSharedFileListMBS.kFavoriteItems)

if l.Handle=0 then
MsgBox "Failed to get list."
else
dim a(-1) as LSSharedFileListItemMBS = l.Snapshot
dim lines(-1) as string

for each x as LSSharedFileListItemMBS in a
lines.append x.DisplayName
next

MsgBox Join(lines, EndOfLine)
end if

LSSharedFileListMBS.kFavoriteVolumes = 1

Type Topic Plugin Version
const Login Items MBS MacFrameworks Plugin 9.8
One of the list type constants.
Example
dim l as new LSSharedFileListMBS(LSSharedFileListMBS.kFavoriteVolumes)

if l.Handle=0 then
MsgBox "Failed to get list."
else
dim a(-1) as LSSharedFileListItemMBS = l.Snapshot
dim lines(-1) as string

for each x as LSSharedFileListItemMBS in a
lines.append x.DisplayName
next

MsgBox Join(lines, EndOfLine)
end if

LSSharedFileListMBS.kGlobalLoginItems = 7

Type Topic Plugin Version
const Login Items MBS MacFrameworks Plugin 9.8
One of the list type constants.
Example
dim l as new LSSharedFileListMBS(LSSharedFileListMBS.kGlobalLoginItems)

if l.Handle=0 then
MsgBox "Failed to get list."
else
dim a(-1) as LSSharedFileListItemMBS = l.Snapshot
dim lines(-1) as string

for each x as LSSharedFileListItemMBS in a
lines.append x.DisplayName
next

MsgBox Join(lines, EndOfLine)
end if

LSSharedFileListMBS.kRecentApplicationItems = 3

Type Topic Plugin Version
const Login Items MBS MacFrameworks Plugin 9.8
One of the list type constants.
Example
dim l as new LSSharedFileListMBS(LSSharedFileListMBS.kRecentApplicationItems)

if l.Handle=0 then
MsgBox "Failed to get list."
else
dim a(-1) as LSSharedFileListItemMBS = l.Snapshot
dim lines(-1) as string

for each x as LSSharedFileListItemMBS in a
lines.append x.DisplayName
next

MsgBox Join(lines, EndOfLine)
end if

LSSharedFileListMBS.kRecentDocumentItems = 4

Type Topic Plugin Version
const Login Items MBS MacFrameworks Plugin 9.8
One of the list type constants.
Example
dim l as new LSSharedFileListMBS(LSSharedFileListMBS.kRecentDocumentItems)

if l.Handle=0 then
MsgBox "Failed to get list."
else
dim a(-1) as LSSharedFileListItemMBS = l.Snapshot
dim lines(-1) as string

for each x as LSSharedFileListItemMBS in a
lines.append x.DisplayName
next

MsgBox Join(lines, EndOfLine)
end if

LSSharedFileListMBS.kRecentServerItems = 5

Type Topic Plugin Version
const Login Items MBS MacFrameworks Plugin 9.8
One of the list type constants.
Example
dim l as new LSSharedFileListMBS(LSSharedFileListMBS.kRecentServerItems)

if l.Handle=0 then
MsgBox "Failed to get list."
else
dim a(-1) as LSSharedFileListItemMBS = l.Snapshot
dim lines(-1) as string

for each x as LSSharedFileListItemMBS in a
lines.append x.DisplayName
next

MsgBox Join(lines, EndOfLine)
end if

LSSharedFileListMBS.kSessionLoginItems = 6

Type Topic Plugin Version
const Login Items MBS MacFrameworks Plugin 9.8
One of the list type constants.
Example
dim l as new LSSharedFileListMBS(LSSharedFileListMBS.kSessionLoginItems)

if l.Handle=0 then
MsgBox "Failed to get list."
else
dim a(-1) as LSSharedFileListItemMBS = l.Snapshot
dim lines(-1) as string

for each x as LSSharedFileListItemMBS in a
lines.append x.DisplayName
next

MsgBox Join(lines, EndOfLine)
end if

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


💬 Ask a question or report a problem