🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #2412

targetengine not persistent if not used in startup-script?

#2412
From: Gerald_Singelmann
Date: Thu, 18 Dec 2008 14:59
11 lines
1204 bytes
Hello all,

I just created m first CS4 script that links into menu events.
In CS3 I was used to be able to start this kind of scripts from the Scripts panel. When I tried with my new script in CS4 I got the error "Can't complete, because object no longer exists" (or similar)
I do not get the error when I place the script into the startup scripts folder.
I understand this to say that a function that is placed in the '#targetengine "session'" at startup is persistent, but not if it is created by a call from ESTK.

Is this known? Is this intentional? Am I simply overlooking something?

Thank you
Gerald
Technical Details
Message-ID: <59b74d8f.-1@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.glorb.com!news2!newshub.sdsu.edu!webcrossing

Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,e0bcc1c2885dd478,start
X-Google-Attributes: gidf939a,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: Gerald_Singelmann@adobeforums.com
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.glorb.com!news2!newshub.sdsu.edu!webcrossing
Newsgroups: adobe.scripting.indesign
Subject: targetengine not persistent if not used in startup-script?
Message-ID: <59b74d8f.-1@webcrossing.la2eafNXanI>
Date: Thu, 18 Dec 2008 06:59:17 -0800
Lines: 16
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit