🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #19792

Set active page [AS]

#19792
From: Steve Nichols
Date: Fri, 15 Nov 2002 03:53
16 lines
1409 bytes
Sorry for bringing up a topic that I am sure has been run before (I just can't find it...) 

I have a script that moves a selected item to a page of my choosing - something that seems to come in very handy. What I would like to do is add to the script changing the view to the chosen page... the script at the moment is: 

display dialog "Which page would you like the selected items to move to?" default answer "" 
set mypage to text returned of result as number 
tell application "InDesign 2.0.1" 
	activate 
	set mydocument to active document 
	set myselection to selection 
	tell mydocument 
		move myselection to page mypage 
	end tell 
end tell 

Thanks
Technical Details
Message-ID: <1de69b84.-1@WebX.la2eafNXanI>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-06!sn-xit-08!supernews.com!news.tele.dk!news.tele.dk!small.news.tele.dk!colt.net!newsfeed.esat.net!lnewspeer01.lnd.ops.eu.uu.net!emea.uu.net!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,e54516b57f9a5df3,start
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2002-11-14 20:10:06 PST
From: "Steve Nichols" <steve@lasersedge.com.au>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-06!sn-xit-08!supernews.com!news.tele.dk!news.tele.dk!small.news.tele.dk!colt.net!newsfeed.esat.net!lnewspeer01.lnd.ops.eu.uu.net!emea.uu.net!newsfeed01.sul.t-online.de!t-online.de!WebX
Newsgroups: adobe.scripting.indesign
Subject: Set active page [AS]
Message-ID: <1de69b84.-1@WebX.la2eafNXanI>
Date: Thu, 14 Nov 2002 19:53:07 -0800
Lines: 21
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit