• 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 CS MAC -applescript- How to copy items on a layer only
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Indesign CS MAC -applescript- How to copy items on a layer only


  • Subject: Indesign CS MAC -applescript- How to copy items on a layer only
  • From: "Patrik B." <email@hidden>
  • Date: Tue, 3 May 2005 10:18:45 -0700

Hi,

I am rtying to script a function that copies a base from an Indesign CS (MAC)
file to another one that has only text.

The thing I have a problem with is how one selects every page item on a
spread in indesign that is only part of a certain layer?

I tried this:

tell application "Indesign CS"
activate
set myDocument to active document
set LayerName to "4 color Base" --this layer already exists along with others
tell myDocument
set myLayer to layer LayerName
set myproperties to {item layer:myLayer}
select every page item with myproperties
end
end
end

for some reason the script selects every item no matter which layer it is
on. How do I have to word it so it only selects all the items on the layer I
specify?

Best, Patrik
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Indesign CS MAC -applescript- How to copy items on a layer only
      • From: Jake Pietrykowski <email@hidden>
  • Prev by Date: Tiger: "path to me" now returns script path!
  • Next by Date: Display Alert (minor) bug
  • Previous by thread: Re: Tiger: "path to me" now returns script path!
  • Next by thread: Re: Indesign CS MAC -applescript- How to copy items on a layer only
  • Index(es):
    • Date
    • Thread