Macro to inventory Floating Contents

Get help using and writing Nisus Writer Pro macros.
Post Reply
User avatar
phspaelti
Posts: 1313
Joined: 2007-02-07 00:58:12
Location: Japan

Macro to inventory Floating Contents

Post by phspaelti »

Thanks to Eric I once again find myself wasting time :P trying to write macros that manipulate floating contents. The macro commands for this purpose are uneven to say the least.
Here at least one result. The following is a macro that inventories all the floating contents in a given file. For each object it will print out what it is, where it is, how big and other relevant information. It makes a list ordered by type, and also inventories contents inside groups (and groups inside groups, etc.)
Get All Floating Content.nwm
(21.92 KiB) Downloaded 1060 times
philip
NisusUser
Posts: 321
Joined: 2011-01-12 05:32:38

Re: Macro to inventory Floating Contents

Post by NisusUser »

I'm glad to have had a role in your creative processes :)

I appreciate the fact that you so freely share the results of your skills with us other NWP users. Thanks!
User avatar
martin
Official Nisus Person
Posts: 5228
Joined: 2002-07-11 17:14:10
Location: San Diego, CA
Contact:

Re: Macro to inventory Floating Contents

Post by martin »

Philip just linked to this thread, and while his macro is neat and useful, there's a built-in way to do this now. Version 3 can show you a list of all floating shapes, where you're free to click through them at your leisure. Just use these two menus in succession:

Tools > Shapes > Select All Shapes
Edit > Select > Show Selection in Results Window

Automating that as a macro is easy enough:

Code: Select all

Menu ":Tools:Shapes:Select All Shapes"
Menu ":Edit:Select:Show Selection in Results Window"
Post Reply