• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
InDesign: master pages with different sizes, override problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

InDesign: master pages with different sizes, override problem


  • Subject: InDesign: master pages with different sizes, override problem
  • From: Håvard Graudo <email@hidden>
  • Date: Tue, 30 May 2017 14:14:47 +0200

When I have master pages with different sizes, I cannot predict where items overridden from masterpage appear on my pages. The first page is always different from the subsequent pages. It seems that it will use the dimensions from the original document default and not the master page. What am I missing here?

Example:
In InDesign:
1) Make a new document 200x200 mm single pages
2) Make new master page, called "MasterSmall”
3) Use Page tool and change MasterSmall to 100x100 mm
4) Create a textbox at "masterSmall" at ie x50 y50 w75 h25 (center reference point) with some content and add a script label "jump" to this box

Now I run this script:

tell document 1 of application "Adobe InDesign CC 2017"
	repeat 3 times
		set thisMaster to (first master spread whose name contains "MasterSmall")
		set thisPage to make new page at end
		set applied master of thisPage to thisMaster
		set pageName to name of thisPage
		set active spread of window 1 to parent of thisPage
		override (first item of master page items of page pageName whose label contains "jump") destination page page pageName
	end repeat
end tell

The first created page appear as expected; the textbox is just where it is supposed to be.
However; every following page the textbox is now placed at x100 y100 w75 h25 (center ref point)

If I manually add a page from this master and option-shift-click the box to override it appear as on the master page.

Why is it jumping? Why not on all pages? What is the correct way of doing this?

Håvard







-
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Prev by Date: Re: assistive access weirdness
  • Next by Date: Re: 10.12.5 at work.
  • Previous by thread: AppleScript Applet - Extension Hidden Property - Locked
  • Index(es):
    • Date
    • Thread