InDesign CS6, setting applied object style
InDesign CS6, setting applied object style
- Subject: InDesign CS6, setting applied object style
- From: Håvard Graudo <email@hidden>
- Date: Thu, 13 Feb 2014 11:33:56 +0100
How do I set the applied object style of a frame?
I have a document with a prepared Object Style called "My Object Style", but nothing happens when I try to apply it.
According to the dictionary it is a get/set property of Text Frame.
What am I doing wrong:
---
tell document 1 of application "Adobe InDesign CS6"
tell page 1
set myTxtFrame to make new text frame with properties {geometric bounds:{16, 42, 42, 84}, contents:"hello world"}
tell myTxtFrame
get name of applied object style
--> "[Basic Text Frame]" OK. Let's change it:
set applied object style to "My Object Style"
--> no error, no result, just silence
get name of applied object style
--> [Basic Text Frame] uh-oh. it didn't stick
end tell
end tell
end tell
---
Håvard
_______________________________________________
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