Thread View: adobe.scripting.indesign
3 messages
3 total messages
Started by tjtj
Wed, 25 Feb 2009 11:12
Javascript qatest method
Author: tjtj
Date: Wed, 25 Feb 2009 11:12
Date: Wed, 25 Feb 2009 11:12
12 lines
902 bytes
902 bytes
Hello,
I am trying to know the number of plugins loaded in Indesign Server. For this, I am writing a javascript which uses following command:
var count;
count = app.qatest("CountPlugins");
When the script is run, it gives the error "app.qatest is not a function".
Please help me to figure out why this function is not reconizable in my script?
Thanks,
Re: Javascript qatest method
Author: Olav_Kvern
Date: Wed, 25 Feb 2009 18:10
Date: Wed, 25 Feb 2009 18:10
7 lines
853 bytes
853 bytes
Hi tjtj, It's probably because you don't have the plug-in that provides the method installed on your copy of InDesign Server. I'm pretty sure that it's part of the debug install--it doesn't (or shouldn't) exist in the released desktop version. Thanks, Ole
Re: Javascript qatest method
Author: tjtj
Date: Thu, 26 Feb 2009 05:08
Date: Thu, 26 Feb 2009 05:08
16 lines
1341 bytes
1341 bytes
Hi Olav Kvern,
Thanks for your reply, but I didn't get much out of it.
Actually I made one plugin which is supposed to be run on both desktop Indesign and Indesign Server. I wrote a script through which I was trying to invoke server plugin when the script was run through Indesign server command prompt. But actually the script invoked desktop plugin and not server plugin.
In order to check the number of plugins that server has, I wrote the command in javascript.
var count;
count = app.qatest("CountPlugins");
which was giving an error.
I would be very thankful if you can throw some light on this issue in more explainatory language.
Thanks,
tjtj
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