12.5.2 Folder Objects
Folder instances represent open folders and have the following methods:
- Print an error message - can be overridden.
- Return the folder's full pathname.
- Return the full pathname of the folder's sequences file.
- Return the full pathname of message n of the folder.
- Return a list of messages in the folder (as numbers).
- Return the current message number.
- Set the current message number to n.
- Parse msgs syntax into list of messages.
-
Get last message, or
0
if no messages are in the folder.
- Set last message (internal use only).
- Return dictionary of sequences in folder. The sequence names are used as keys, and the values are the lists of message numbers in the sequences.
- Return dictionary of sequences in folder name: list.
- Remove messages in list from folder.
- Move messages in list to other folder.
- Move one message to a given destination in another folder.
- Copy one message to a given destination in another folder.
See About this document... for information on suggesting changes.