🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #2413

undoing a script

#2413
From: Gerald_Singelmann
Date: Thu, 18 Dec 2008 15:06
11 lines
973 bytes
Hello all,

in CS4 I can make the entire script undo in one step by loading the script into a string and starting it with
	app.doScript(myScript, undefined, undefined, UndoModes.ENTIRE_SCRIPT, "undo my script");

Works like a charm.

I never tried this in CS3 but I vaguely remember a discussion insinuating it should be possible there as well. Does my memory deceive me? Or can this be done in CS3?

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

Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,e2481b1806a7db3a,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!g2news2.google.com!news2.google.com!news.glorb.com!news2!newshub.sdsu.edu!webcrossing
Newsgroups: adobe.scripting.indesign
Subject: undoing a script
Message-ID: <59b74d91.-1@webcrossing.la2eafNXanI>
Date: Thu, 18 Dec 2008 07:06:39 -0800
Lines: 15
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit