Re: InDesign newbie question?
Re: InDesign newbie question?
- Subject: Re: InDesign newbie question?
- From: Peter Boctor <email@hidden>
- Date: Mon, 4 Aug 2003 13:46:05 -0700
Yes, there is a way to name boxes in InDesign. From the user
interface you can do this by using the "Script Label" palette
(Window->Script Label) From a script this is done via a "label"
property:
tell application "InDesign 2.0.2"
set myDoc to make document
set myBox to make text frame at myDoc with properties {geometric
bounds:{0, 0, "1in", "1in"}, label:"test"}
set contents of text frame "test" of myDoc to "Hello World"
end tell
A lot of other objects (like pages, spreads and layers) in InDesign
have a label property which you can use to attach your own private
data. The Script Label palette only works on page items though and
you can't say layer "my label" to refer to an object.
-peter
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.