🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.incopy.scripting
Article #10

(AS) Scripting tracking preferences

#10
From: sduncan
Date: Mon, 08 Jan 2007 21:04
18 lines
1503 bytes
I'm trying to enable tracking changes for all, or even one, story, but it doesn't seem to be enabled in applescript.

I can set the tracking changes preferences - ie show added text, etc, but not set tracking changes enabled for all stories. There seems to be a class for setting track changes for a story that's boolean, but I cannot get it to work on an open story. There does not seem to be any setting for enabling the track changes for all stories.

tell application "InCopy"
	--this does work
	tell track changes preferences
		set show added text to true
		set show deleted text to true
		set show moved text to true
	end tell
	--this doesn't work
	set myDocument to document 1
	set track changes of myDocument to true

end tell

Can anyone confirm what I'm seeing, or point out where I may be in error?
Technical Details
Message-ID: <3bc2c965.-1@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nwr.nac.net!newsfeed.freenet.de!news.albasani.net!news.isoc.lu!webcrossing

Show Full Headers
Complete Article Headers
X-Google-Thread: 1efe4a,eee62b099ede22c0,start
X-Google-Attributes: gid1efe4a,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: sduncan@coxnc.com@adobeforums.com
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nwr.nac.net!newsfeed.freenet.de!news.albasani.net!news.isoc.lu!webcrossing
Newsgroups: adobe.incopy.scripting
Subject: (AS) Scripting tracking preferences
Message-ID: <3bc2c965.-1@webcrossing.la2eafNXanI>
Date: Mon, 8 Jan 2007 13:04:51 -0800
Lines: 24
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit