a post on the indesignsecrets forum spurred me on to get this done. a fellow poster asked if there was a single script which would add unnamed colours, deleted unused colours, unused master pages, unused styles, etc. it's a handy thing to have not just for me, but i'd imagine anyone using indesign who wanted to tidy up their finished art.
so far, i have some of the items under control, but have been stumped trying to do the following:
before doing this post, i did a search of the forums for "add unnamed colors" and came across this in a post from Jongware:
In CS3 & 4 I can do it through menu actions (not supported in CS & CS2)
this is probably naive of me, but all i really want to do is invoke the menu actions that i'd otherwise select with my cursor or access with KBSCs. really just trying to save a ton of mouse movements and clicks throughout the day.
also, is invoking menu actions the right way of doing what i want to do or will it have unexpected consequences?