FileLib Xojo and Real Studio plugin

SetDesktopComment Method

Writes the file comment for a folderitem.

SetDesktopComment(
   f as FolderItem,
   Value as String)

Parameters

f
The file or folder.
Value
The new comment to put on the file.

Remarks

Linux and Windows systems have no concept for file comments so this method is not supported on those platforms. It is perfectly valid to call this method on the unsupported platforms but it will not do anything there.

MacOS X has no API to read or write OS X comments, so we send a AppleEvent to the operating system to ask the operating system to do it. Because of this fact then reading and writing file comments is slower on MacOS X.

Supported Platforms:

  • MacOS X Carbon
  • MacOS X Cocoa

    Unsupported Platforms:

  • Win32 - Windows
  • Linux x86

    See Also

    GlobalMethods Global