🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #15387

Applescripting the Cut command

#15387
From: Joel_Kitchens
Date: Mon, 01 Dec 2003 21:46
16 lines
1046 bytes
When this script is run I get the message "Document does not understand Cut message"
The Script.

tell application "InDesign CS"
	tell document 1
		set paragraphReference to object reference of paragraph 2 of story 1
		select paragraphReference
		cut
		set paragraphReference to object reference of paragraph 1 of story 1
		select character 1 of paragraphReference
		paste
	end tell
end tell

I am on a Mac OS 10.3 using Indesign CS
Thanks in advance
Technical Details
Message-ID: <2cceadb9.-1@webx.la2eafNXanI>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!webx

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f939a,4c5e30bab83adc10
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2003-12-01 14:08:19 PST
From: Joel_Kitchens@adobeforums.com
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!webx
Newsgroups: adobe.scripting.indesign
Subject: Applescripting the Cut command
Message-ID: <2cceadb9.-1@webx.la2eafNXanI>
Date: Mon, 1 Dec 2003 13:46:10 -0800
Lines: 17
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit