FolderItem.GetSaveInfo Method

Allow saving FolderItem references without relying on the absolute path. Returns a String.

Syntax

FolderItem.GetSaveInfo RelativeTo, Mode


Parameters

RelativeTo

FolderItem

Mode

Integer


The returned string indicates a relative path with is relative to the folder passed in RelativeTo.

The Class Constants and values (in parentheses) for Mode are:

SaveInfoDefaultMode (0): The FolderItem should be open in any way REALbasic can possibly create it. This is the Default value.

SaveInfoRelativeMode (1): The FolderItem should only be opened using relative path information.

SaveInfoAbsoluteMode (2): The FolderItem should only be opened using absolute path information.

Note: The returned string is not intended to be human-readable and any modifications may render it useless.