Quantcast
Channel: Adobe Community: Message List - InDesign Server Developers
Viewing all 641 articles
Browse latest View live

Indesign server CC trial help

$
0
0

I have programmed Applescript and Indesign for desktop for years.

I have a solution that should work well with Indesign server and applescript.

Downloaded the Trial for Indesign Server CC.

Then you have to figure out how to activate the product, which i think i have done via this command :

 

adobe_prtk --tool=StartTrial --leid=InDesignServer-CS7-Mac-GM

 

Now that its not compaining about being activated i can see that the sample applescripts provided in the install can compile.

If i run them however i get a failiure thats odd.

 

tell application "Finder"

          get startup disk

                    --> "CWFM1:"

          exists "CWFM1:ServerTestFiles"

                    --> true

          exists "CWFM1:ServerTestFiles:bob.indd"

                    --> false

end tell

tell application "InDesignServer"

          close every document saving no

          make new document

                    --> document "Untitled 3"

          save document "Untitled 3" to "CWFM1:ServerTestFiles:bob.indd"

                    --> error number -1728

Result:

error "InDesignServer got an error: Can’t get document \"Untitled 3\"." number -1728 from document "Untitled 3"

 

 

The folder is chmod'd to 777 so its not a read write issue.

 

if i just use the normal open command in applescript i get this error :

 

The document “bob.indd” could not be opened. InDesignServer cannot open files of this type.

 

which is just odd. its a normal empty indesign document with nothing in it!

 

 

has anyone got ideas?

 

 

 

Server is MacMini i7 with 16gb ram, OS X 10.8.5 server.


Re: Indesign server CC trial help

$
0
0

Ok, i uninstalled indesign server CC and found a copy of the Trial CS6 indesign server. that works fine. must be a bug in CC. Joy....

Re: Distributed Copy Editor - openStory failed

$
0
0

I have exactly the same issue but am determined to solve it. I'm on Win 7, InDesign Server CS6.

 

I'll keep this post updated if I figure it out.

 

But, as I'm new to most things Adobe it may take some time.

 

Bernie.

Re: InDesign CC Server Availability

$
0
0

I'm in the same boat. If i get someone who really knows the product I'll post details here. At this stage it's fairly hard to get good documentation on ID Server.

InDesign CC Server - ESTK Cannot Interact

$
0
0

I'm running Windows Server 2008R2 (64-bit) and I'm having a huge issue getting scripts to run from ESTK to InDesign CC Server. I've got InDesign CC (Desktop) installed as well. Both versions are fully updated as of today. Can you please help me fix this? When I try to run a script using ESTK targeting InDesing CC Server from the same computer, it sits there with a message box saying "Waiting; press ESC to abort..." It appears that it's not able to communicate with the process (InDesignServer.com, which is running at the time) at all, and I'd love a little help debugging this.

 

Thanks!

Re: InDesign CC Server - ESTK Cannot Interact

$
0
0

I am still having problems, but I have changed my configuration/tried something new. I uninstalled InDesign Desktop 32- and 64-bit from the server hosting InDesign Server. I also reinstalled over the ID Server over its existing installation and reregistered with adobe_prtk. As I was saying, I'm still experiencing the waiting message; I have no idea how to debug this and I'm on a trial. If anyone has any idea how to help fix this or debug it, I'd really appreciate it. We can't justify paying adobe for support on a trial that should, by all accounts, be working out of the box - and we definitely can't purchase it in this condition. Thanks!!!

Re: InDesign CC Server - ESTK Cannot Interact

$
0
0

From our CS4 Mac server farm I know a similar effect.

 

InDesign Server can run with many instances on the same machine, addressed via different port. Only if you run one instance with default configuration, ESTK will find it directly via the red/green widget. I reserved that instance exclusively for interactive work, in order to not compete with the load balancer. In order to connect with the other instances you have to mangle the configuration name into a #target directive and press run. See ESTK's Help "JavaScript Tools Guide" for details, the section is titled "Application specifiers".

 

Regards,

Dirk

Grey Lines around the image while generating PNG from INDD file

$
0
0

Capture.PNG

Hi,

 

I am using the InDesign Server to generate the PNG image and PDF from INDD file. While designing we do mapping of variable data fields, e.g., Text will be replaced by dynamic text, image will be replaced by dynamic image, barcode will be drawn on the basis of input at the image generation from InDesign Server.

 

Now when I do this mapping, a grey color line comes by itself and surrounds that particular image/ barcode (will be known as Variable Data fields). This grey line signifies that this data field is a variable datafield which will be replaced dynamically at the time of PDF OR Image generation by InDesign Server.

 

Now the InDesign Server is behaving different when:

 

1. when PDF is generated : Proper PDF gets generated by replacing all the variable data fields and with out any grey lines.

2. when PNG is generated : Image got generated by replacing all the variable data fields, but the images and barcode still contains the grey lines which were just to signify the Designer about the variable datafield.

 

Therefore, InDesign Server is generating the PNGs with the greylines surrounding the images and barcodes, which is not correct. Can any one let me know how can I remove these grey lines from PNG?

 

Please find one sample screenshot of INDD file in the attached file.

 

 

Warm Regards,

Rahul


Re: InDesign CC Server - ESTK Cannot Interact

$
0
0

I appreciate the effort Dirk. Unfortunately, I have tried the steps you outlined above and it is still not doing away with the waiting message. I created a single instance in the service manager with no parameters and no port specified. There are no other instances set up. The behavior remains the same.

FindChangeByList for CS6 Server?

$
0
0

Dear all,

 

can anybody please help me?

I am quite new to CS6 server and tried to use the well-known "FindChangeByList.jsx" on a generated document, but it doesn't work...

I did some changes to the script as described in the Scripting User Guide for the server version, but I am not sure if this was right as two or three chnages didn't make sense to me...

 

1. Replace the main() function with the following:

 

function main(){
if(app.documents.length > 0){
//Provide a story object or a document object.
myFindChangeByList(app.documents.item(0), false);
}
}

 

2.     Delete the myDisplayDialog function.

 

3.     Change the line:

 

 

var myFindChangeFile = "/c/FindChangeSupport/FindChangeList.txt";

 

to (you will have to fill in a valid file path for your system):

 

set myFindChangeFile to "yukino:FindChangeSupport:FindChangeList.txt"

--> Is this right?? This looked like AppleScript to me.
To me it made more sense to change it to

 

    var myFindChangeFile = "FindChangeSupport/FindChangeList.txt";

 

Doesn't a relative path work if the .txt file is in the specified subfolder?

Which would be the right syntax for Windows path like "\\myserver\somefolder\myscriptfolder\FindChangeSupport\FindChangeList.txt"?

 

4.     Delete the myFindChangeFile function.

--> I didn't find this function, I deleted the myFindFile function

 

5.     Delete the myGetScriptPath function.

 

 

On CS6 desktop version I use the unchanged script version which works well and replaces the things defined in the txt file.

 

 

 

After my changes my complete script looks like this, but nothing is replaced...

 

//FindChangeByList.jsx
//An InDesign CS4 JavaScript
/* 
@@@BUILDINFO@@@ "FindChangeByList.jsx" 2.0.0.0 10-January-2008
*/
//Loads a series of tab-delimited strings from a text file, then performs a series
//of find/change operations based on the strings read from the file.
//
//The data file is tab-delimited, with carriage returns separating records.
//
//The format of each record in the file is:
//findType<tab>findProperties<tab>changeProperties<tab>findChangeOptions<tab>description
//
//Where:
//<tab> is a tab character
//findType is "text", "grep", or "glyph" (this sets the type of find/change operation to use).
//findProperties is a properties record (as text) of the find preferences.
//changeProperties is a properties record (as text) of the change preferences.
//findChangeOptions is a properties record (as text) of the find/change options.
//description is a description of the find/change operation
//
//Very simple example:
//text    {findWhat:"--"}    {changeTo:"^_"}    {includeFootnotes:true, includeMasterPages:true, includeHiddenLayers:true, wholeWord:false}    Find all double dashes and replace with an em dash.
//
//More complex example:
//text    {findWhat:"^9^9.^9^9"}    {appliedCharacterStyle:"price"}    {include footnotes:true, include master pages:true, include hidden layers:true, whole word:false}    Find $10.00 to $99.99 and apply the character style "price".
//
//All InDesign search metacharacters are allowed in the "findWhat" and "changeTo" properties for findTextPreferences and changeTextPreferences.
//
//If you enter backslashes in the findWhat property of the findGrepPreferences object, they must be "escaped"
//as shown in the example below:
//
//{findWhat:"\\s+"}
//
//For more on InDesign scripting, go to http://www.adobe.com/products/indesign/scripting/index.html
//or visit the InDesign Scripting User to User forum at http://www.adobeforums.com
//
main();
function main(){
if(app.documents.length > 0){
//Provide a story object or a document object.
myFindChangeByList(app.documents.item(0), false);
}
function myFindChangeByList(myObject){    var myScriptFileName, myFindChangeFile, myFindChangeFileName, myScriptFile, myResult;    var myFindChangeArray, myFindPreferences, myChangePreferences, myFindLimit, myStory;    var myStartCharacter, myEndCharacter;    var myFindChangeFile = "FindChangeSupport/FindChangeList.txt";    if(myFindChangeFile != null){        myFindChangeFile = File(myFindChangeFile);        var myResult = myFindChangeFile.open("r", undefined, undefined);        if(myResult == true){            //Loop through the find/change operations.            do{                myLine = myFindChangeFile.readln();                //Ignore comment lines and blank lines.                if((myLine.substring(0,4)=="text")||(myLine.substring(0,4)=="grep")||(myLine.substring(0,5)=="glyph")){                    myFindChangeArray = myLine.split("\t");                    //The first field in the line is the findType string.                    myFindType = myFindChangeArray[0];                    //The second field in the line is the FindPreferences string.                    myFindPreferences = myFindChangeArray[1];                    //The second field in the line is the ChangePreferences string.                    myChangePreferences = myFindChangeArray[2];                    //The fourth field is the range--used only by text find/change.                    myFindChangeOptions = myFindChangeArray[3];                    switch(myFindType){                        case "text":                            myFindText(myObject, myFindPreferences, myChangePreferences, myFindChangeOptions);                            break;                        case "grep":                            myFindGrep(myObject, myFindPreferences, myChangePreferences, myFindChangeOptions);                            break;                        case "glyph":                            myFindGlyph(myObject, myFindPreferences, myChangePreferences, myFindChangeOptions);                            break;                    }                }            } while(myFindChangeFile.eof == false);            myFindChangeFile.close();        }    }
}
function myFindText(myObject, myFindPreferences, myChangePreferences, myFindChangeOptions){    //Reset the find/change preferences before each search.    app.changeTextPreferences = NothingEnum.nothing;    app.findTextPreferences = NothingEnum.nothing;    var myString = "app.findTextPreferences.properties = "+ myFindPreferences + ";";    myString += "app.changeTextPreferences.properties = " + myChangePreferences + ";";    myString += "app.findChangeTextOptions.properties = " + myFindChangeOptions + ";";    app.doScript(myString, ScriptLanguage.javascript);    myFoundItems = myObject.changeText();    //Reset the find/change preferences after each search.    app.changeTextPreferences = NothingEnum.nothing;    app.findTextPreferences = NothingEnum.nothing;
}
function myFindGrep(myObject, myFindPreferences, myChangePreferences, myFindChangeOptions){    //Reset the find/change grep preferences before each search.    app.changeGrepPreferences = NothingEnum.nothing;    app.findGrepPreferences = NothingEnum.nothing;    var myString = "app.findGrepPreferences.properties = "+ myFindPreferences + ";";    myString += "app.changeGrepPreferences.properties = " + myChangePreferences + ";";    myString += "app.findChangeGrepOptions.properties = " + myFindChangeOptions + ";";    app.doScript(myString, ScriptLanguage.javascript);    var myFoundItems = myObject.changeGrep();    //Reset the find/change grep preferences after each search.    app.changeGrepPreferences = NothingEnum.nothing;    app.findGrepPreferences = NothingEnum.nothing;
}
function myFindGlyph(myObject, myFindPreferences, myChangePreferences, myFindChangeOptions){    //Reset the find/change glyph preferences before each search.    app.changeGlyphPreferences = NothingEnum.nothing;    app.findGlyphPreferences = NothingEnum.nothing;    var myString = "app.findGlyphPreferences.properties = "+ myFindPreferences + ";";    myString += "app.changeGlyphPreferences.properties = " + myChangePreferences + ";";    myString += "app.findChangeGlyphOptions.properties = " + myFindChangeOptions + ";";    app.doScript(myString, ScriptLanguage.javascript);    var myFoundItems = myObject.changeGlyph();    //Reset the find/change glyph preferences after each search.    app.changeGlyphPreferences = NothingEnum.nothing;    app.findGlyphPreferences = NothingEnum.nothing;
}

How do I use ESTK to debug ExtendScript running in IDS?

$
0
0

I want to step through ExtendScript running inside InDesign Server (not CC).

Thanks!

InDesign Server CC Multi-Instances

$
0
0

Following the documentation for multi-instance support the application, running as a web service under IIS7 on Windows Server 2008 R2, is failing to access the object. For a single instance I use CreateObject("InDesignServer.Application")but as document for multiple instances I useGetObject(“myIDS1”)(where I have an instance of InDesign Server CC running with parameter “indesignserver -configuration myIDS1”. I have tried running the instance both from command line, elevated command line, and from the InDesignServerService). It is acting as though it does not recognise the instance name, but then I don't really understand how it would. Any ideas appreciated.

Data merge crash in ID CS6 server (but works in ID CS6 desktop)

$
0
0

I have a strange problem with datamerge solution of InDesign cs6 server.

 

 

There is a 20-page indd document and a 50-record csv file to be used along with it.

Creating merged document (using data merge) causes ID CS6 server to crash right after the moment the following line executes:

 

 

objDoc.mergeRecords();

 

 

However, strangely, for the same template file there is no crash in InDesign desktop counterpart.

I certainly seems that there is some inherent problem with data merge in the InDesign server. All data merge settings are same for both applications.

 

 

Even there is no crash if I directly export to PDF as follows:

objDoc.dataMergeProperties.exportFile(ExportFormat.PDF_TYPE, outputfile);

 

 

 

 

So, in summary for the same template file:

 

 

objDoc.mergeRecords(); // crash occurs in InDesign server but not in desktop counterpart

objDoc.dataMergeProperties.exportFile(...); // no crash at all

 

 

It would be a great help if someone can throw some light on this.

Re: InDesign CC Server - ESTK Cannot Interact

$
0
0

Did you specify the architecture (32/64 bit)?

Something like

 

#target "indesignserver-9.064"

Re: Grey Lines around the image while generating PNG from INDD file

$
0
0

Sounds like a bug. Some untried workarounds:

Place the PDF on a separate page and export that page to PNG.

Place the whole .indd on a separate doc, and export that.

 

Dirk


InDesign Server - License

$
0
0

Hi,

 

I want to have InDesign Server trial for ever for one my cloud product in which I am tring to demo. After the demo user can either purchase InDesign server themself or plug-in my tool with their existing InDesign server. If I use InDesign Server 90 days trial, after 90 days, will it stop to work or continue to work with water mark? I am fine to have water mark even from the first day. I email to Adobe asking "InDesign Server Developer Free License" but no response. Please advise.

Creating Hyperlink using InDesign CS6 Server

$
0
0

Hello,

 

Could anyone help me to automate hyperlink generation for the web related contents, I can acheive this using desktop, but not in InDesign CS6 server, since 'selection' property is not supporting by the server version.

 

Thanks,

 

Praveen

Re: FindChangeByList for CS6 Server?

$
0
0

First of all there's a bracket missing for your main() function:

At the beginning of your question there were two closing brackets at the end, what was correct, and in your complete code there's only one closing bracket.

 

Your point three: Yes, this is AppleScript code. Using var myFindChangeFile = "FindChangeSupport/FindChangeList.txt"; is correct but you are going to use that script with InDesign Server so I'm not sure where your FindChangeList.txt file will be located. At the Server? I hope so.

 

How does your FindChangeList.txt file look like? If it looks like this (and I recommend to use an absolute path), your script will work - locally at least.

 

 

text<tab>{findWhat:"Replace me"}<tab>{changeTo:"I'm the replacement"}<tab>{}

text<tab>{findWhat:"I'm bad"}<tab>{changeTo:"I'm good"}<tab>{}

...

How to connect InDesign Server in Adobe Flash Builder (Adobe Flex Web Application) ?

$
0
0

I am starting to create a user interface using flex but how should i start connecting it to InDesign Server?

Can someone help me please.

Change language in InDesign Server

$
0
0

How can I change the language of InDesign Server from English to Spanish? Is that Possible??

 

Regards

Viewing all 641 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>