Using InDesign Server,
I need to check each all stories avaiable. if there are a overset in a textframe, I need to return all tags associated to this story.
how can I find out all tags related to a stories?
Using InDesign Server,
I need to check each all stories avaiable. if there are a overset in a textframe, I need to return all tags associated to this story.
how can I find out all tags related to a stories?
Hi
Developping whith InDesign Server Corba API,how can I know if a Paragraph/Characterstyle is overriden?
(with javascript, we have Paragraph.styleOverridden)
Generally, how can we get all properties of a Paragraph style ou a Character Style object?
Thanks in advance
Any help would be appreciated
Djams
Hi,
i have java web application, that use indesign server to export idml files as PDF.
The workflow:
1. open the idml file
2. export the idml as pdf
3. close the idml file
Sometimes this error occured: Error 111626 : Server cannot open the idml file. This is not a valid InDesign Interchange document.
When this error occures, aftert that the indesign server sends the same error for all following idmls, that I try to export.
The consequent is that I have to stop the server and start it again.
I just have this behaviour only with this error code. For all others errors the server works fine and export all idmls correctly.
What can I do. I don't want to restart the server everytime.
Can you help me ?
Thanks + Cheers
Michèle
Hi Experts,
When ever I run the Indesign server as a service and the Ior folder is pointing to the local drive e.g. c:\IDS\ior then the ior files are created. But when I point by IOR folder to the shared drive e.g. \\\\st-con-02\\fm2appsdev\\IDS1\\IOR1 none of the ior files are created. Please find my command line arguments below :
-pluginpath Server/Corba -iorfile \\\\st-con-02\\fm2appsdev\\IDS1\\IOR1 -port 12349
Could anyone please help.
Thanks,
Manjunath
Hi,
I need the same Adobe fonts in Photoshop CS6 and InDesign CS6.
Where are they installed in OSX?
Do my Adobe programs install fonts in a different folder than other programs do?
Hi,
I cannot start our InDesign Server CC 2014 (Windows Server 2008). I have installed the software and was logged with our Adobe ID and installation was successful without any error message. The installation manual states that “InDesign CC Server needs to be activated before it can be used. If the computer is online, activation is done automatically when you install.” However, I got an error message when I tried to launch InDesign Server: “Adobe InDesign Server is not properly licensed and will now quit”.
Since I had previously installed InDesign Server CS6 on another machine, I tried to use the APTEE to start the trial. I used the CS6 one because I did not find any version for CC 2014, I finally got the message:
StartTrial Successful
Return Code = 0
but when I tried to launch again InDesign Server, I always get the Adobe InDesign Server is not properly licensed and will now quit message.
I also read this thread but did not find the solution Indesign Server CC Trial issues
Thanks for help!
Hi,
Using pdf preset as a input file to generate pdf files using indesign server . It gives the error as per below
rrmsg=PDF error:Invalid value for parameter 'using' of method 'exportFile'. Expected PDFExportPreset, but received FALSE
pdf preset file used is as Adobe PDF Preset 1.joboptions
Any workaround to fix the above error msg ???
Greetings,
I would like to inquire about a possible performance problem regarding combining multiple IDML / INDT files or copying pages via Indesign Server Scripting API.
Note that we are using Indesign Server CS6 (with latest 8.0.2 update).
Currently, we are using the following line to merge multiple indesign documents (IDML/INDT)
document.pages.everyItem().duplicate(LocationOptions.AFTER, baseDocument.pages[lastPageIndex])
Above line performs what is needed (textframes are threaded, etc), however there is a possible issue with its performance which degrades horribly especially after several merging operations and if there are several pages in the base document or the document to be copied (though the performance is more affected when the document to be copied has many pages)
Testing done:
#1 For the below test, Notice that the merging is not constant and degrades per minute (performance may possible degrade when using a larger document)
start | end | time elapsed for pages.everyItem.duplicate |
| operation done |
with a base of 42 page INDT document | ||||
12:13:33 | 12:15:28 | 0:01:55 |
| add 42 page INDT file |
12:15:29 | 12:18:35 | 0:03:06 |
| add another 42 page INDT file |
12:18:37 | 12:22:53 | 0:04:16 |
| add another 42 page INDT file |
12:22:54 | 12:28:15 | 0:05:21 |
| add another 42 page INDT file |
12:28:17 | 12:34:30 | 0:06:13 |
| add another 42 page INDT file |
|
| TOTAL |
|
|
|
| 0:20:51 |
|
|
with a base of 42 page IDML document | ||||
12:13:58 | 12:16:44 | 0:02:46 |
| add 42 page IDML file |
12:16:56 | 12:20:59 | 0:04:03 |
| add another 42 page IDML file |
12:21:11 | 12:26:21 | 0:05:10 |
| add another 42 page IDML file |
12:26:35 | 12:32:39 | 0:06:04 |
| add another 42 page IDML file |
12:32:50 | 12:40:06 | 0:07:16 |
| add another 42 page IDML file |
|
| TOTAL |
|
|
|
| 0:25:19 |
|
|
Time elapsed is 20 minutes for INDT and 25 minutes for IDML. it adds ~1 minute for each document added (for a 42 page, this duration may increase when no of pages increase).
#2 For below test, we noticed that INDT seems to perform faster than IDML (though it is larger by 10x and is a binary file)
|
| |||
with a base of 838 page IDML document | ||||
14:30:44 | 14:55:40 | 0:24:56 |
| add 42 page IDML file |
|
|
|
|
|
|
|
|
|
|
with a base of 838 page INDT document | ||||
15:14:55 | 15:23:40 | 0:08:45 |
| add 42 page INDT file |
#3 For below test, notice that the merging degrades by several minutes even if you just increase the number of pages.
Notice that we added the documents according to increasing no of pages as we found out that it performs significantly faster than not (saved several hours)
I also incorporated the doc.save and gc calls but it still doesn't help reduce the whole merging process to several minutes. (still takes 11 hours just to merge 33 documents with total of 1046 pages)
Note that we also checked binary merging (merging small files first but the resulting time is much larger than above)
with a base of 1 page IDML document | ||||
15:58:45 | 15:58:52 | 0:00:07 |
| add 1 page IDML file |
15:58:53 | 15:59:00 | 0:00:07 |
| add 1 page IDML file |
15:59:01 | 15:59:08 | 0:00:07 |
| add 2 page IDML file |
15:59:09 | 15:59:18 | 0:00:09 |
| add 2 page IDML file |
15:59:19 | 15:59:29 | 0:00:10 |
| add 3 page IDML file |
|
|
|
| perform $.gc and doc.save into temp IDML |
15:59:35 | 15:59:42 | 0:00:07 |
| add 4 page IDML file |
15:59:44 | 15:59:52 | 0:00:08 |
| add 6 page IDML file |
15:59:54 | 16:00:05 | 0:00:11 |
| add 6 page IDML file |
16:00:08 | 16:00:21 | 0:00:13 |
| add 6 page IDML file |
16:00:23 | 16:00:49 | 0:00:26 |
| add 7 page IDML file |
|
|
|
| perform $.gc and doc.save into temp IDML |
16:00:53 | 16:01:03 | 0:00:10 |
| add 7 page IDML file |
16:01:05 | 16:01:19 | 0:00:14 |
| add 8 page IDML file |
16:01:22 | 16:02:18 | 0:00:56 |
| add 10 page IDML file |
16:02:22 | 16:04:12 | 0:01:50 |
| add 17 page IDML file |
16:04:17 | 16:06:41 | 0:02:24 |
| add 19 page IDML file |
|
|
|
| perform $.gc and doc.save into temp IDML |
16:06:50 | 16:09:14 | 0:02:24 |
| add 20 page IDML file |
16:09:19 | 16:12:31 | 0:03:12 |
| add 20 page IDML file |
16:12:37 | 16:15:53 | 0:03:16 |
| add 21 page IDML file |
16:15:59 | 16:21:00 | 0:05:01 |
| add 26 page IDML file |
16:21:07 | 16:27:25 | 0:06:18 |
| add 27 page IDML file |
|
|
|
| perform $.gc and doc.save into temp IDML |
16:27:40 | 16:38:28 | 0:10:48 |
| add 37 page IDML file |
16:38:38 | 16:50:42 | 0:12:04 |
| add 39 page IDML file |
16:50:55 | 17:08:09 | 0:17:14 |
| add 42 page IDML file |
17:08:21 | 17:28:39 | 0:20:18 |
| add 44 page IDML file |
17:28:55 | 17:58:32 | 0:29:37 |
| add 52 page IDML file |
|
|
|
| perform $.gc and doc.save into temp IDML |
17:58:58 | 18:26:26 | 0:27:28 |
| add 52 page IDML file |
18:26:42 | 19:11:57 | 0:45:15 |
| add 63 page IDML file |
19:12:16 | 20:08:49 | 0:56:33 |
| add 64 page IDML file |
20:09:09 | 21:13:22 | 1:04:13 |
| add 67 page IDML file |
21:13:59 | 22:39:28 | 1:25:29 |
| add 67 page IDML file |
|
|
|
| perform $.gc and doc.save into temp IDML |
22:40:15 | 0:35:17 | 1:55:02 |
| add 84 page IDML file |
0:35:48 | 3:30:53 | 2:55:05 |
| add 98 page IDML file |
|
| TOTAL |
|
|
|
| 11:26:36 |
|
|
Notice that I have already added $.gc and doc.save per 5 documents however the effect is lost/not significant around the 4th/5th time.
Please confirm if there is something that can be done to resolve above Indesign's performance for merging / copying pages from one document to another.
or suggest alternative code or some setting that we may have missed.
I am really struggling to start InDesign server on my Windows 8 machine. I did following steps after spending lot of time:
1) Download trial server
2) Installed it on my machine
3) Download APTEE and run it
4) run command - adobe_prtk --tool=startTrial --leid=InDesignServer-CC-Win-GM
But still no joy! Can anyone help me on this
So our tool has the ability to process .IDML files to .jpg's or .pdf's. Normally all works well and I can get a preview and pdf render within seconds. Lately I have this 1 template that's super small (<275K) and although my preview processes fine when I have it process to return a .pdf file it takes around 5 minutes to do so!
I have other templates that are way larger and more complicated that render out pdf's in seconds but this specific one is really baffling me.
Checked the .idml and it looks ok. It was built with InDesign CC 2014 and exported out as an IDML file. Our server is InDesign CS6. Would that make a difference?
Hi all,
I am working on a project including IDS CC 2015 on a Mac. If I use uncompiled version of the script, it just works fine. Once I compile the code, I get a segmentation fault error and the server crashes. On prior versions this compiled code works fine.
Had anyone already faced that issue ? Any hint on how to prevent it ?
Thanks in advance for your help,
Loic
Hi,
This is my first attempts to script IDS. I am stuck with the simpliest command: open a file.
app.open(File(myFilePath));
It returns an error.
<IDSP:RunScriptResponse><errorNumber>1</errorNumber><errorString>open</errorString><scriptResult></scriptResult></IDSP:RunScriptResponse>
I first developed on Indesign desktop and the script just works fine. I read the IDS scripting guide so I am aware of restrictions and I think I avoided them.
Is there anything to be aware of for opening files ?
Best,
Loic
Hi,
I have a script (javascript, jsx) that will parse content from InDesign (.indd) documents using InDesignServer. I want to be able to pass the filename, as well as the path of the indesign file as parameters to this script.
I have tried this vbs solution:
==========================
runjavascript.vbs
-------------
Option Explicit
On Error Resume Next
Dim appRef
Dim javaScriptFile
Set appRef = CreateObject( "Photoshop.Application" )
appRef.BringToFront
javaScriptFile = "C:\myscript\test.jsx"
call appRef.DoJavaScriptFile( javaScriptFile, Array(Array("one","two"), Array("three")), 1)
------
DoJavaScriptFile takes 3 params, the first being the script, the 2nd is an array of params. In my example, you can have an array of arrays of params. When you receive params from javascript side, it will see param 0 as (one, two), param 1 is (three). For most people, simple case is fine: eg:
call appRef.DoJavaScriptFile( javaScriptFile, Array("one","two", "three"), 1)
The javascript would look like this:
test.jsx
---------
#target photoshop
if (arguments.length > 0)
alert("ARGUMENT 0 = " + arguments[0]);
----
from the jsx side, there's a magical variable called "arguments" of array type. When you pass variables in, the 1st one will be arguments[0], the next one would be arguments[1], and so forth.
To execute this from command line, (assuming everything lives in c:\myscript):
cscript c:\myscript\runjavascript.vbs
==========================
This approach does not work, because I get an error from the CreateObject function, it cannot create an object for InDesignServer.Application.
Ideally, I want to be able to pass arguments from a python script to a jsx script.
Setup:
InDesign CS4 .indd documents
Win2k8 server
JavaScript (via ExtendScript toolkit)
InDesignServer CS5.5 (32bit)
SmartLayout plugin
Hi all,
I'm trying to export a document from IDS via JavaScript.
This script works fine in IDC
var document = app.documents.item(0);
if(document.saved == true){
myInxExport();
}
function myInxExport(){
document.exportFile(ExportFormat.indesignInterchange, File(myGetDocumentName()), false);
}
--
molsted