get_slots_from_pack (c)
The get_slots_from_pack (c) function returns a list of slots in the active Document Pack that define a document for a channel.
c is the name of the channel. "" indicates the default channel and returns a list of all slots in the Document Pack.
The function returns a string that contains all matching slots, which are separated by tabs. If there is no active Document Pack, the function returns an empty string.
Examples
get_slots_from_pack ("Archive")
returns a list of slots that define a document for the Archive channel.
Var Text slot;
ForEach slot
In get_slots_from_pack ("")
Separator _Tab
Do
Progress Message ("Slot: " + slot);
Od;
sends a progress message for each slot in the Document Pack.