PGetPubWindows

Gets the number of publication and story windows currently open and their names.


Query constructor

PGetPubWindows(PMBool bAllWindows = false);
false to return layout window names only (this is the default)
true to return layout and story window names


Query results

This query returns a list of C strings containing the name of each window. The order of windows is: Story editor windows have full titles. PageMaker returns the full title of story-editor windows (e.g., "PubOne:It was a dark and s:1") and lists these first.

Windows only: main window listed. If you set bAllWindows to true, PageMaker for Windows returns the name of the main window (i.e., Adobe PageMaker 6.0) along with the story and layout window names.


See also

The PWindowcommand


Copyright © 1996, Adobe Systems Incorporated. All rights reserved.

Comments or suggestions? Contact Adobe Developer Support