J
Joshua Ochs
I'm trying to write a quick "cleanup" utility for when a Visio document
is receievd with a large number of open stencils. Is there any way to
find out all of the stencils that are associated with a document (they
open when the document is opened) and close them?
I tried using "DockedStencils" as a way to get at these and close them,
but now I'm getting some documents that have open stencils associated
with them, but they are open in their own non-docked windows. I've tried
iterating through the Documents property and closing all "*.vss" files,
but that inadvertently closes stencils that were open in other documents
(and you may want to keep open).
On another cleanup-related topic, when a document is opened in several
windows (such as to multiple different pages), is there any way to
easily close all of the "other views" besides the active one?
Thanks,
- Joshua Ochs
[I've received documents with dozens of stencil files left open (some
that are not present on my system, which hits me with multiple error
messages).]
is receievd with a large number of open stencils. Is there any way to
find out all of the stencils that are associated with a document (they
open when the document is opened) and close them?
I tried using "DockedStencils" as a way to get at these and close them,
but now I'm getting some documents that have open stencils associated
with them, but they are open in their own non-docked windows. I've tried
iterating through the Documents property and closing all "*.vss" files,
but that inadvertently closes stencils that were open in other documents
(and you may want to keep open).
On another cleanup-related topic, when a document is opened in several
windows (such as to multiple different pages), is there any way to
easily close all of the "other views" besides the active one?
Thanks,
- Joshua Ochs
[I've received documents with dozens of stencil files left open (some
that are not present on my system, which hits me with multiple error
messages).]