🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #15034

The method incorrectly works for me ".Move"

#15034
From: Sviatoslav
Date: Mon, 05 Jan 2004 06:52
34 lines
2343 bytes
Hello All
Hello Olav Kvern.
Help if can!
The method incorrectly works for me ".Move" for moving objects from one page on another!
I use Adobe InDesign CS the Central Europe PreReliase (Build 0042), Windows XP Home, VBScript for App in MSOffice97 Pro, VB6 SP3.
I official Beta-tester in the program of testing Adobe CS CE.
My Question?
================================================================
Sub MoveMyObject()
' Moving of object on page on a label "Label"
Set myInDesign = CreateObject("InDesign.Application.CS")
Set myDocument = myInDesign.ActiveDocument
' In the document of 2 pages, on the first to be 1 group of 2 Text Frameworks
' It is chosen one group preliminary marked through Label = "myGroup"
Set myItem = myDocument.Pages.Item(1).Groups.Item("myGroup")
' It is moved this group on 2 page
myItem. Move, Array (10, 10), Array (10, 10), 2
' This command does not give the message on a mistake, but works only on half.
' The Command moves object only within the limits of that page where to be group i.e. PAGE 1!!!!!!!
myItem. Move myDocument. Pages. Item (2)
' This command does also!!!!!!!!!!!!!!!!!
End Sub
================================================================
Can these commands it is wrong work from for Beta versions Adobe InDesign CS?

What file (the library *.tlb) is responsible for these actions? (all business can in her!)

How nevertheless to move (To duplicate) object on other page (Document)
In version Adobe InDesign 2.0.2 CE at me all worked correctly!!!!!!!!!!
Show please on a small example.

Svjatoslav Ivanov thanks in advance.

P.S. How to display new page on screen InDesign? (if current page 1, and it is necessary to show on the screen page 2)
Technical Details
Message-ID: <2ccf3121.-1@webx.la2eafNXanI>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.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,e4aec41e82026be0,start
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2004-01-04 23:07:34 PST
From: Sviatoslav@adobeforums.com
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!webx
Newsgroups: adobe.scripting.indesign
Subject: The method incorrectly works for me ".Move"
Message-ID: <2ccf3121.-1@webx.la2eafNXanI>
Date: Sun, 4 Jan 2004 22:52:16 -0800
Lines: 42
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit