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.


The biggest plugin in space...