Quantcast
Viewing all 20709 articles
Browse latest View live

Cannot save "Untitled-4" under a new name.

I'm getting this error trying to run the HelloWorld.jsx Script on a Windows Server 2003 VM machine inside OSX.

I've been working with the server with no problems, having been able to test scripts to import XML, and export in various formats..

I had just written a Windows App test client in C# .Net, the aim being to develop an Object Pool to control multiple instances, and was going to use HelloWorld as the test script... and now this.

The same script runs perfectly well from the ActionScript IDE, both in the Windows Server and on OSX.

InDesign Server is running as a Windows Service.
I can view the WSDL on http://localhost:1978/?wsdl ... fine.

Any ideas?

UserInteractionLevels is undefined

Hello All,

 

While exporting Indesign INDD file to INX file on CS3 Server using javascript (.jsx) I got following error...

 

Error Number: 2
Error String: UserInteractionLevels is undefined
Line: 12
Source:         app.scriptPreferences.userInteractionLevel = UserInteractionLevels.neverInteract;

 

Can you please suggest how to resolve this issue?

 

Thanks,

Shail

[CS3] Enabling full redo/undo support

Is there any way to enable full redo/undo support in the InDesign server?

Or can I write my own redo/undo functionality?

 

Thanx in advance.

IDS CS4 installation issue wierdness

Hi,

 

here's the scenario

 

- IDS CS4 installed on our dev server - fine.

- Developed com/vb web app for client - fine.

- Installed IDS CS4 on clients server (Win 2003 vanilla install) - not so fine.

 

Differences

- IDS CS4 on our server doesn't 'seem' to show up in task manager and works at speeds I would expect for the system spec.

- On clients server it appears in task manager when lauched via com/vb from a web app and runs very slow (the clients server is a blistering quad core 64bit monster)


Also on our server it shows in the DCOM list but doesn't show up on the clients server in the DCOM list and I notice on the clients server there is a DCOM error appearing in the event viewer.


but here's the thing

 

I can only run IDS CS4 once, after that it just sits there doing nout, as if crashed.

To get the thing to work on the clients server I've had to add InDesignerServer.quit to get the thing to shut down ready for the next time it wants to be launched. And I can track this in task manager.

 

Observations

It seems to me that I'm having to launch and close IDS CS4 each time I want to use it on the clients server. Whilst on our server it is 'on' listening/waiting for calls/instructions as you would expect.

 

IDS CS4 seemed to serialise correctly although I did have to uninstall and reinstall twice before it worked.

Is this a 64bit issue? ...dunno. Any help greatly appreciated from this excellent forum.

 

 

cheers

[IDS Java CS4] packageForPrint() not copying linked graphics?

packageForPrint() creates a folder and saves my .indd, but doesn't copy the linked graphics. Here's my code:

 

String outputFilePath = "/dev/indesign/docPackage";
boolean copyingFonts = false;
boolean copyingLinkedGraphics = true;
boolean copyingProfiles = false;
boolean updatingGraphics = true;
boolean includingHiddenLayers = false;
boolean ignorePreflightErrors = true;
boolean creatingReport = true;
OptBoolean forceSave = OptArg.makeBoolean( true );

 

boolean success = doc.packageForPrint( outputFilePath,
                  copyingFonts,
                  copyingLinkedGraphics,
                  copyingProfiles,
                  updatingGraphics,
                  includingHiddenLayers,
                  ignorePreflightErrors,
                  creatingReport,
                  versionComments,
                  forceSave );

 

The docPackage folder is created and it contains my .indd and Instructions.txt report file, but there is no "Links" folder containing the linked graphics, and the links in the .indd are not updated from their original path The report file says

 

LINKS AND IMAGES
(Missing & Embedded Links Only)
Links and Images: 54 Links Found; 0 Modified, 0 Missing
Images: 0 Embedded, 3 use RGB color space

 

which is the correct number of images.

 

Thanks,

 

Mike

InDesign CS3 replaces unavailable Fonts

Hi,

 

we have InDesign CS3 server running. The server renders Preflight PDF. If a layout uses a font that the InDesign Server doesn't know, the InDesign server replaces the unknon font with one he knows.

 

Is there a way to tell the InDesign CS3 server which font to for replacing an unknown font?

 

Thanx for ur kind help.

Naming convention for .idlk files?

InDesign and InCopy avoid stepping on each other's toes by putting .idlk lock files in the same directory as files they're working on.

 

It's evident that the filename pattern is:

 

"~{lowercased filename}~{6-character string}.idlk"

 

Any documentation or ideas about how that 6-character string is generated? It seems to be based only on the filename-a checksum of some sort?

 

Thanks,

-Matt

Can we create PowerMath into EPS images from InDesign Document through InDesignServer Java API?

Hi,

 

I am making an application which takes input as a InDesign document and extract output as a xml document. In that process, I need to convert all the PowerMath in EPS images, but I dont have any idea that how to do that. So any one can give any idea about that. Is it possible to convert PowerMath in EPS images?

 

Thanks in advance,

Suman Saurav


InDesign Server Developer Edition, PDF export problem

I'm currently testing our application on IDS CS5, using Developer Edition. Whenever I attempt to export a PDF, I receive the following error:

Wed Mar  2 10:17:29 2011 WARN [server] Colour in one or more placed graphics cannot be represented as CMYK.  Non-CMYK colour is not compliant with the PDF/X-1a standard. You can click OK to produce a valid PDF, but it will not be a PDF/X-1a compliant file.
Wed Mar  2 10:17:29 2011 ERROR[server] JavaScript Error!
Error Number: 2
Error String: User cancelled this action.
Engine: main
Line: 1428
Source: this.document.exportFile(ExportFormat.pdfType, documentFile);
Interpreter: CS4 (6.0)

This happens even with a completely blank document. It works fine if I export JPGs or an INDD file from the same file. I'm guessing this is due to the watermark that Developer Edition places on every page. I'm fine with that, but not actually being able to export an X-1a PDF makes testing quite tricky.

Any suggestions?

Installing update server update 7.0.3

Hello guys,

 

I have a problem installing the 7.0.3 update with a developer version of the indesign server. I explained everything in this post

 

http://forums.adobe.com/message/3551994

 

maybe somebody here can point me into the right direction?

Thanks!

Can someone test this using Indesign server?

I'm currently using Indesign Desktop CS5 (7.0) and we will be transitioning to Indesign Server in a couple of months.

 

My issue is that Smart Text Reflow does not work properly. It creates the extra pages for overset fine BUT it does not delete the placeholder pages if there is no overset. Instead, it will delete randomly (or when Indesign is idle). I need to find out if this bug happens in Indesign Server as well.

 

If you run this script and view the PDF, if smart text flow delete worked.....you should not see any blank pages (all pages in this scenario should have the word "test"). If smart text flow delete failed, you should see blank pages.

 

 

var document =app.documents.add();

 

document.textPreferences.smartTextReflow = true;
document.textPreferences.limitToMasterTextFrames = false;
document.textPreferences.deleteEmptyPages = true;
document.textPreferences.addPages = AddPageOptions.END_OF_DOCUMENT;

 

for(var index = 0; index < 10; index++)
{
    var page = document.pages.add();
var page2 = document.pages.add();
var textFrame = page.textFrames.add();

 

var nextTextFrame = page2.textFrames.add();

 

textFrame.geometricBounds = [10, 10, 40,  40];
nextTextFrame.geometricBounds = [10, 10,  40,  40];
nextTextFrame.previousTextFrame = textFrame;

 

textFrame.contents = "test";
textFrame.recompose();
}

 

document.export(ExportFormat.pdfType,          "c:\\test.pdf");

 

 

This script should work in Server (have not tested it), feel free to modify as needed (should be minimal or none).

HELP! Export indd- epub AUTOMATION. How to Implement! thanks!

Hi. In need some help. Im an intermidiate .net programmer. i need  some help on how to implement a simple automation on exporting indd to epub.

 

What language suitable to use?

do i need indesign server ion this simple automation?

 

 

Thanks!

Simply open a file

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

Issue in setting Load balancing for Indesign Server CS5.5

Hi All,

 

I need to set up load balancing mechanism for Indesign Server CS5.5 on Windows Server 2008 R2(64 bit version).

I have dutifully following all steps defined in "WORKING WITH LOAD BALANCING AND QUEUEING FOR ADOBE INDESIGN CS5 SERVER.pdf"

 

After running Indesign server using batch file "startup-indesign-server-CORBA-4instances.bat" from "<ID_SDK>\samples\load-balancing-and-queuing-clients\indesignserver-startup-scripts", I get only one instance of Indesign Server running. How to run multiple instances of the INDD server ? Is running multiple instance has something to do with type of licensing ?

 

Now I run Clover.cmd script, I get this screen. I have no idea why its not working. Please help. Please let me know, if the scenario is not clear and more information is required.

 

Image may be NSFW.
Clik here to view.

 

Thnx,

D

Passing arguments to jsx file externally

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


ExtendScript Toolkit cannot launch InDesign CS6 Server

I have installed the trial version of InDesign Server CS6 on Windows 2008 and am trying to run scripts against it using the ExtendScript Toolkit, but it is not working. When I select "Adobe InDesign CS6 Server" from the drop-down list in the upper left, I get an alert box that says "Cannot launch target Adobe InDesign CS6 Server!". When expanding the details box it just repeats that same message.

 

I can start InDesign fine using either the command line or the windows service and it responds to requests. As far as I can see, it is just ExtendScript that is having problems with it.

 

I have combed through the event logs and can't find anything there indicating what the problem might be. I have also googled everything I can think of looking for a solution with no luck.

 

Has anyone else run into this? Any suggestions on a solution or at least where I might be able to track down a useful error message that says why it can't launch InDesign?

(Mac) Malloc in export JPEG

When exporting to JPEG, I get the following error:

 

InDesignServer(1039,0xacc502c0) malloc: *** mmap(size=1512448000) failed (error code=12)

*** error: can't allocate region

*** set a breakpoint in malloc_error_break to debug

 

 

This happens when exporting a document of 2000 mm x 2000 mm to a 200 dpi progressive JPEG.

The max dpi value of 224 is not exceeded, so this should work. (see my other post for max size calculation: Failed to export the JPEG file: Maximum size exceeded)

I can export it on my InDesign client version, but not on the server version.

I'm having this issue on both CS5.5 and CS6 Server on Mac.

It does work on CS6 Server on windows.

Connect to IDS on remote machine via C# and COM

Can anyone give me a clue as to how to connect to an InDesign Server installation running on a remote machine from a desktop C#/COM application?

The application is a bog standard C# desktop application,  the InDesign Server instance ia running on a virtual machine on the local network.

 

Currently I'm using:

ourAppInstance = (InDesignServer.Application)(System.Runtime.InteropServices.Marshal.BindToMoniker(configN ame));

 

This works fine if both the application and server are local, but do I need to change configName to include a machine name or IP as well as the configuration name when the server is remote? Is there some other mechanism I am missing?

 

Thanks

Indesign Server CC Trial issues

The installation instructions states

 

You need to download Adobe Provisioning Toolkit Enterprise Edition (APTEE) for using the InDesign Server trial

 

The download link only refers to CS6, CS5.5 & CS5 not CC

Since there is no Adobe Provisioning Toolkit Enterprise Edition for CC I decided just to install and run the trial.

 

However I got the Adobe InDesign Server is not properly licensed and will now quit message.

According to the CC Release notes it says:

 

InDesign CC Server needs to be activated before it can be used. If the computer is online, activation is done automatically when you install. You need to provide your Adobe ID, and serial number when prompted by the installer. Unless the software is activated, you'll see an error, "Adobe InDesign Server’ is not properly licensed and will now quit."

 

My computer was online yet the it seems it didn't perfom the automatic activation as it suggests. When I entered my AdobeID credentials I did not get any errors saying it could not connect online.

 

So I had to do something and decided to use the Adobe Provisioning Toolkit Enterprise Edition for CS6.

This allowed me to get pass the licensing issue.

 

The next problem was I was getting DDE Server Window:InDesignServer.exe System Error popup. Telling me The program can't start because svml_dispmd.dll is missing from your computer.

 

C:\Program Files\Adobe\Adobe InDesign CC Server x64>indesignserver
================================================================================

.  InDesign CC Server Version 9.0 x64 Evaluation
.  Copyright 1999-2013 Adobe Systems Incorporated and its licensors.
.  All rights reserved. See the other legal notices in the ReadMe.
================================================================================

11/28/13 08:08:49 INFO  [server] Initializing
11/28/13 08:08:49 INFO  [server] Loading the application
11/28/13 08:08:49 INFO  [server] Scanning for plug-ins
11/28/13 08:08:49 INFO  [server] Registering 113 plug-ins
11/28/13 08:08:53 INFO  [server] Completing Object Model
11/28/13 08:08:53 INFO  [server] Saving Object Model
11/28/13 08:08:53 INFO  [server] Initializing plug-ins
11/28/13 08:08:53 INFO  [server] Calling Early Initializers
11/28/13 08:08:53 INFO  [server] Starting up Service Registry
11/28/13 08:09:02 INFO  [server] Executing startup services
11/28/13 08:09:02 INFO  [server] Using configuration configuration_noport
11/28/13 08:09:02 INFO  [server] Initializing Application
11/28/13 08:09:02 INFO  [server] Completing Initialization
11/28/13 08:09:02 INFO  [server] Calling Late Initializers
11/28/13 08:09:08 INFO  [server] Image previews are off
11/28/13 08:09:08 INFO  [server] Server Running
11/28/13 08:09:08 INFO  [javascript] Executing File: C:\Program Files\Adobe\Adobe InDesign CC Server x64\Scripts\startup scripts\ConnectInstancesToESTK.js
11/28/13 08:09:08 INFO  [javascript] Executing File: C:\Program Files\Adobe\Adobe InDesign CC Server x64\Scripts\converturltohyperlink\startup scripts\ConvertURLToHyperlinkMenuItemLoader.jsx
11/28/13 08:09:08 INFO  [javascript] Executing File: C:\Program Files\Adobe\Adobe InDesign CC Server x64\Scripts\converturltohyperlink\ConvertURLToHyperlinkMenuItem.jsxbin

 

So after browsing the net to see where I can get this missing svml_dispmd.dll I found this post http://software.intel.com/en-us/forums/topic/285859

and decided to install what it suggested.

I still got the missing dll error so I copied it from C:\Program Files (x86)\Common Files\Intel\Shared Libraries\redist\intel64\compiler into C:\Program Files\Adobe\Adobe InDesign CC Server x64

 

Now it just sits there and hangs at the same spot

11/28/13 08:09:08 INFO  [javascript] Executing File: C:\Program Files\Adobe\Adobe InDesign CC Server x64\Scripts\converturltohyperlink\ConvertURLToHyperlinkMenuItem.jsxbin

 

What the heck is going on here?

 

 

I have installed Indesign Server CC on another machine and although I did not get the missing dll problem it still however hangs at the same spot mentioned above.

Could someone from Adobe please help. The already I'm losing days with this trial and I will have little days left to test this product.

Change language in InDesign Server

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

 

Regards

Viewing all 20709 articles
Browse latest View live


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