🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: adobe.scripting.indesign
3 messages
3 total messages Started by Seth_McGraw Wed, 25 Feb 2009 17:08
Remove Unused Colors?
#903
Author: Seth_McGraw
Date: Wed, 25 Feb 2009 17:08
5 lines
916 bytes
When "Remove Unused Colors" is run from the Swatches panel, it performs the deletion in a fraction of a second, however when written into a script it seems to take in some cases minutes to complete.

Is this a symptom of how the script interacts with the app, therefore making it impossible to solve? or is there a way to efficiently write it to improve performance?

Thanks
Re: Remove Unused Colors?
#909
Author: Peter Kahrel
Date: Wed, 25 Feb 2009 17:56
3 lines
639 bytes
What does your script look like?

Peter
Re: Remove Unused Colors?
#918
Author: Seth_McGraw
Date: Wed, 25 Feb 2009 19:02
7 lines
1644 bytes
It's about 1000 lines give or take and covers an entire workflow, so I won't post it, but I'll explain more in detail.

The user will choose a template to create based on a number of selection criteria spanning several dialogs, one of which includes color. If the user chooses the "problem" selections, the colors from a pre-prepared indd document are loaded, which contains the entire Pantone Solid Coated library. This loads ok and the removal of these colors aren't so bad. It's when the user needs the metallics library in conjunction with solid coated that causes the problem. When deleting the unused after both libraries are in the document, there is a significant increase in run-time. Running the command from within indesign cs3 however takes less than a second.

The perfect scenario would be to find the proper color in the proper library and simply just load that color when chosen, but I don't know if it is even possible. If it is, I have no clue how to do it.

Seth
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads