Back

If your email is not recognized and you believe it should be, please contact us.

  • You must be logged in to reply to this topic.Login

Fitting grouped and anchored text frames

Return to Member Forum

  • Author
    Posts
    • #96042

      Hi,

      I’m a newbie in Javascript and tried to wrote a simple script to fit all document text frames to content:

      var myDocument = app.activeDocument;

      myDocument.pages.everyItem().textFrames.everyItem().fit(FitOptions.FRAME_TO_CONTENT);

      Works with normal frames, but I dont know how can I apply this to grouped and anchored text frames too.

      Here’s my scenario:

      https://www.dropbox.com/s/4ppr1vtkwqqg7lh/example.jpg

      Help me please!

Viewing 0 reply threads
  • You must be logged in to reply to this topic.
Forum Ads