• 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
Newbie needs help
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Newbie needs help


  • Subject: Newbie needs help
  • From: "Rosemary Cantrell" <email@hidden>
  • Date: Fri, 3 Oct 2008 15:36:29 -0500

Hey all,
Goal is to have InDesign check a specific layer to see if any objects
(type or graphic) have the fill color of "IMPRINT".  If it does then a
dialog results with item(s) selected that says "Imprinting is on this
layer" if none is found then a dialog could say "No imprinting found
on this layer".

Eventually I might have it cycle through layers, but at this point I
would like it to get objects on the current selected layer.

Let me know if that doesn't make sense...

TIA,
Rosie


tell application "Adobe InDesign CS3"
	set myLayer to layer
	set g to name is "IMPRINT"
	set x to (swatch is equal to g)
	try
		tell myLayer
			get item is equal to x
		end tell
		display dialog "Imprinting is on this layer"
	on error
		display dialog "No imprinting found on this layer"
	end try

end tell
 _______________________________________________
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

  • Follow-Ups:
    • Re: Newbie needs help
      • From: Shane Stanley <email@hidden>
  • Prev by Date: Re: Invoke Unix Tool in Script Application Bundle
  • Next by Date: Re: Invoke Unix Tool in Script Application Bundle
  • Previous by thread: Re: Invoke Unix Tool in Script Application Bundle
  • Next by thread: Re: Newbie needs help
  • Index(es):
    • Date
    • Thread