plugin.getSelectedAttachments

The 'getSelectedAttachments' function retrieves the currently selected attachments.

  • Prototype: plugin.getSelectedAttachments(iDbPos, bFullPath);
  • Parameters:
    1. iDbPos: a position number (0-based) of the database on the tab control; -1 for the current database.
    2. bFullPath: specified if or not to include full SSG path for each entries. Defaults to false with only filenames returned.
  • Return Value: an Array containing SSG path to the selected attachments.
  • Example:
    alert(plugin.getSelectedAttachments(-1, true));