Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

INDESIGN: Inserting an Inline Graphic at Text Selection



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:
http://lists.apple.com/mailman/options/applescript-users/email@hidden
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.