Platforms to show: All Mac Windows Linux Cross-Platform

Back to FolderItem class.

VolResolveIDMBS(volume as FolderItem, id as Integer) as FolderItem

Type Topic Plugin Version macOS Windows Linux iOS Targets
global method Files MBS MacClassic Plugin ✅ Yes ❌ No ❌ No ✅ Yes All

return a FolderItem for a passed FileID or DirID. If the item can not be resolved, nil is returned instead.
The first parameter specified the volume where you want to resolve the ID on.
Example
dim f,g as folderItem
f=SpecialFolder.Desktop
g=VolResolveIDMBS(f,f.MacDirID)
msgBox f.NativePath

This function returns a FolderItem for a passed FileID or DirID. If the item can not be resolved, nil is returned instead.

See also:

VolResolveIDMBS(vRefNum as Integer, id as Integer) as FolderItem

Type Topic Plugin Version macOS Windows Linux iOS Targets
global method Files MBS MacClassic Plugin ✅ Yes ❌ No ❌ No ✅ Yes All

return a FolderItem for a passed FileID or DirID. If the item can not be resolved, nil is returned instead.
The first parameter specified the volume where you want to resolve the ID on.
Example
dim f,g as folderItem
f=SpecialFolder.Desktop
g=VolResolveIDMBS(f.macVRefNum,f.MacDirID)
msgBox f.NativePath

This function returns a FolderItem for a passed FileID or DirID. If the item can not be resolved, nil is returned instead.
The first parameter specified the volume where you want to resolve the ID on.There is a bug in RB which may say "type mistmatch error" in RB. Than use the other variant of that function.

See also:

Blog Entries

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


The biggest plugin in space...