🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: adobe.scripting.indesign
4 messages
4 total messages Started by Justin_Monsees Fri, 02 Jan 2009 20:25
CS3 target engine "session" error
#2390
Author: Justin_Monsees
Date: Fri, 02 Jan 2009 20:25
11 lines
997 bytes
I am trying run the LabelGraphicsMenu.jsx script on InDesign CS3 and I get an error that says: "Cannot execute script in target 'session'!" Is this a new method used with CS4?

I am trying to have a script in which I can add a graphic label such as a caption to an image that is currently selected.

A) Should I be using this script and is there a way to fix the error?
AND
B) Is there a better approach?

Thanks,

Justin M.
Re: CS3 target engine "session" error
#2393
Author: Dave_Saunders
Date: Fri, 02 Jan 2009 23:12
3 lines
879 bytes
Are you trying to run the script from ESTK? If so, that's the problem. You can either run it from the panel or comment out the line that calls for the target engine. In CS4, you can run scripts in ESTK that call for a target engine, but that was not the case in CS3.

Dave
Re: CS3 target engine "session" error
#2229
Author: Gary_Vidal
Date: Wed, 07 Jan 2009 01:01
10 lines
1086 bytes
If I am correct you must first execute the script from the scripts panel so the session for the targetengine is set in cs3. I run into this problem when first trying to run the script from estk. But usually corrects itself once you run it first from scripts panel.

1. Open script in ESTK. (Make sure its linked to application).
2. From Scripts panel execute script.
3. Try running script from ESTK
4. You should see the targetengine changes to session instead of main.

HTH

Gary
Re: CS3 target engine "session" error
#2231
Author: Justin_Monsees
Date: Wed, 07 Jan 2009 01:47
3 lines
704 bytes
Thanks Gary,

I was able to get it running from ESTK
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