INDESIGN: Inserting an Inline Graphic at Text Selection
INDESIGN: Inserting an Inline Graphic at Text Selection
- Subject: INDESIGN: Inserting an Inline Graphic at Text Selection
- From: Rick Gordon <email@hidden>
- Date: Thu, 28 Jun 2007 04:06:06 -0700
I'm trying to find the simplest way to accomplish the following scenario:
* A range of text is already selected.
* I want to do the equivalent of Object > Anchored Object > Insert...
So far I have only succeeded when making the rectangle unanchored, and cutting and pasting into the selection. I would much prefer to do something like this (made-up) syntax:
tell parent story of selection
set MyAnchoredFrame to insert anchored frame at selection with properties {content type:graphic type, ¬
applied object style: MyObjectStyle, ¬
height: MyHeight, ¬
width: MyWidth}
tell MyAnchoredFrame to clear object style overrides
--AND THEN STUFF IT WITH AN IMAGE, ETC.
end tell
Is there no way to directly mirror the functionality of Object > Anchored Object > Insert... ?
--
___________________________________________________
RICK GORDON
EMERALD VALLEY GRAPHICS AND CONSULTING
___________________________________________________
WWW: http://www.shelterpub.com
_______________________________________________
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