🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: adobe.scripting.indesign
4 messages
4 total messages Started by scriptworx Sat, 31 Jan 2009 10:39
#targetengine "session"
#1580
Author: scriptworx
Date: Sat, 31 Jan 2009 10:39
12 lines
853 bytes
Hi All,

I have placed a script with menu items in de Startup Scripts folder.
The uncompiled version works fine, the binary doesn't.

I get a message that the object does not longer exist with the binary version.

It must have something to do with #targetengine "session".

Is there a solution for this?

Thanks Michel
Re: #targetengine "session"
#1581
Author: scriptworx
Date: Sat, 31 Jan 2009 11:16
3 lines
644 bytes
By the way, I use CS3 and javascript on the mac.

Michel
Re: #targetengine "session"
#1582
Author: Dave_Saunders
Date: Sat, 31 Jan 2009 12:02
3 lines
823 bytes
I think that's a limitation. I seem to remember reading about it here before. Can you work around it by having your binary script write a script to a temporary file, run it with a doScript and then delete the temporary file? That might work.

Dave
Re: #targetengine "session"
#1583
Author: scriptworx
Date: Sat, 31 Jan 2009 12:21
7 lines
761 bytes
I found what the problem is.
Binary scripts can't switch to a specific script engine.

The solution is in the menuitem loader samplescripts
in de scripts folder of CS3 and CS4.

Michel
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