Re: InDesign CS2: Test graphics for item layer
Re: InDesign CS2: Test graphics for item layer
- Subject: Re: InDesign CS2: Test graphics for item layer
- From: Shane Stanley <email@hidden>
- Date: Sat, 06 Sep 2008 10:03:16 +1000
- Thread-topic: InDesign CS2: Test graphics for item layer
On 6/9/08 8:46 AM, "Ed Stockly" <email@hidden> wrote:
> All graphics can be page items
You mean no graphics can be page items. And I think that's part of David's
problem -- he wants to act on the page items that contain the graphics. So
he needs something like:
tell application "Adobe InDesign CS3"
tell document 1
set myGraphics to all graphics
repeat with i from 1 to count of myGraphics
if name of item layer of parent of item i of myGraphics is
"Text" then
set thisItem to duplicate parent of item i of myGraphics
set item layer of thisItem to "On Text"
set (content type) of thisItem to unassigned
set fill color of thisItem to theColor
set blend mode of thisItem to multiply
end if
end repeat
end tell
end tell
--
Shane Stanley <email@hidden>
_______________________________________________
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