• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Adobe InDesign CS2 - Anchored Text Frame
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Adobe InDesign CS2 - Anchored Text Frame


  • Subject: Adobe InDesign CS2 - Anchored Text Frame
  • From: Rob Stott <email@hidden>
  • Date: Thu, 27 Sep 2007 08:27:08 +0100

Hi all,

I'm trying to create an anchored text frame in InDesign using AppleScript. I can do this manually as follows:

• Create first text frame with some text in it
• Create a second, small text frame with some text in it
• Copy and paste the smaller text frame midway through the text

The result is that when you edit the text in the first text frame, the second anchored text frame moves up and down accordingly.

I tried to do this via AppleScript like this:

tell application "Adobe InDesign CS2"
tell front document
tell text frame 1
--make an anchored text frame at the end of the existing text
make new text frame at end of contents with properties {contents:"blah"}
end tell
end tell
end tell

...but it doesn't seem to work. I get the error:

"Adobe InDesign CS2 got an error: Can't make class text frame."

...I've tried a few alternate approaches but I can't seem to get any to work. Does anyone know how to do this? Any hints would be appreciated!

Thanks
Rob





Important: This message is intended only for the use of the individual or entity to which it is addressed and may contain information that is privileged, confidential and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, or the employee or agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination or copying of the communication is strictly prohibited. If you have received this communication in error, please notify the writer immediately by telephone and return the original message via postal service to the writer's attention at the above address. Thank you.

Watt Gilchrist Limited. Albion Mills, Albion Road. Bradford, BD10 9TQ
Registered in England
873405

 _______________________________________________
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

  • Follow-Ups:
    • Re: Adobe InDesign CS2 - Anchored Text Frame
      • From: Shane Stanley <email@hidden>
References: 
 >Deleting address book fields (From: Rob Lewis <email@hidden>)

  • Prev by Date: Deleting address book fields
  • Next by Date: Re: Adobe InDesign CS2 - Anchored Text Frame
  • Previous by thread: Deleting address book fields
  • Next by thread: Re: Adobe InDesign CS2 - Anchored Text Frame
  • Index(es):
    • Date
    • Thread