Skip to main content
Participant
March 18, 2015
Question

How do I execute/add a 3rd party extension into a script?

  • March 18, 2015
  • 4 replies
  • 611 views

I was wondering if someone could help me run a copyfit extension by MPS at the end of my findchangebylist script? I'm using InDesign CS4/CS6 running on Windows. I'm using the sample script that came with InDesign. Thanks in advance for any and all help.

This topic has been closed for replies.

4 replies

Participant
March 19, 2015

Using this block I can open the panel for the plug in. That is Step 1 from my previous post. Can anyone help with getting it to walk through the button clicks?

Participant
March 18, 2015

No. I need to know how to get a script to run MPS CopyFit tool. I can get a script to open the panel for the tool. I need it to actually run the tool itself. Right now we have to click the button and the following dialog boxes.

step 1

step 2

step 3

Not sure if that helps at all. I know it seems trivial but we make close to 100 files a day, everyday and it would be nice to have this included in our find/replace script. This way our files would be "cleaned" and ready to print with minimal room for human error. Skipped steps hurt us big time. Trying to make it as simple as possible by having one script take care of most of our problems all at once. Thanks again for any and all help.

TᴀW
Legend
March 18, 2015

The answer depends on whether the people who made CopyFit made it

scriptable.

If it is scriptable, then you would need to write a script for it, which

you could then tag on to your find/change script as I showed above.

I have no experience with that particular plugin.

id-extras.com | InDesign tools & scripts for typesetters, form designers, and translators
Loic.Aigon
Legend
March 19, 2015

What about invoking the menuItem if the plugin added an entry ?

Loic

Participant
March 18, 2015

To be a little more clear. The findreplacebylist script works fine. I would just like to have it run a copyfit extension after it does all of the listed find/replace commands.

TᴀW
Legend
March 18, 2015

Is that extension a script? If so, just tag on to the end of the

find/change script the following line:

app.doScript("filenamegoeshere");

replacing the text between the quotes with the filename of the next

script you want to execute.

id-extras.com | InDesign tools & scripts for typesetters, form designers, and translators
Peter Spier
Community Expert
Community Expert
March 18, 2015

Moved to the scripting forum...

Legend
March 18, 2015

Hello,

I don't know how to run a script from the find change script, but our free find changer, XStrings can execute scripts.

Xchange Strings / XStrings - Kerntiff Publishing Systems

HTH.

P.