ActivateDocument, GetOpenedDocumentList, NextOpenedDocument, PrevOpenedDocument, ShowOpenedDocument
Description
ActivateDocument(
char *OpenedDocumentName
);
This function displays a certain document from a list of opened documents.
See Also
PrevOpenedDocument, NextOpenedDocument
Description
GetOpenedDocumentList( char *OpenedDocumentList
, intMaxItems
, intMaxPath
);
This function writes the list of opened documents. The list is written to the OpenedDocumentList buffer, each document having length of MaxPath. If MaxItems is lower than number of opened documents, the functions returns the number of documents and list is not filled.
Parameters
Return Values
int num, i; char docs[6240]; // 24 * MAX_FILE_NAME num = GetOpenedDocumentList(docs, 24, MAX_FILE_NAME); if (num < 0) WaitText(0, "Error occured!"); for (i = 0; i < num; ++i) { ActivateDocument(docs + (i * MAX_FILE_NAME)); ComplementColor(); Wait(1.0); }
This function runs the Window > Next command.
Description
NextOpenedDocument(
int OpenedDocument
);
This function displays the opened image previous to the current one in the list of opened documents (Window menu).
Note
This function is typically called from the Next command (Window menu).
See Also
PrevOpenedDocument
This function runs the Window > Previous command.
Description
PrevOpenedDocument(
int OpenedDocument
);
This function displays the opened image next to the current one in the list of opened documents (Window menu).
Note
This function is typically called from the Previous command (Window menu).
See Also
NextOpenedDocument
This function runs the Window > [Opened file] command.
Description
ShowOpenedDocument(
int OpenedDocument
);
This function displays a certain document from a list of opened documents.
See Also
NextOpenedDocument, PrevOpenedDocument, ActivateDocument