Newbie needs help
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