Multi-Frame Operations

Ask a Question related to Adobe Indesign Windows, Design and Development.

  1. #1

    Default Multi-Frame Operations

    I have ten identical text frames lined up vertically. I would like to
    rotate each one 45 degrees in a single operation. If I select all of
    them--either with the regular or direct selection tool--and rotate, the
    group rotates as a whole.

    I know that I could pile the frames up on top of one another, rotate
    them, and then redistribute them, but I'm wondering if there is any
    direct general way to do this?
    Guy_Smiley@adobeforums.com Guest

  2. Similar Questions and Discussions

    1. Implications for a multi lingual, multi curreny e commerce site ??
      Hi I'm about to start wotk on a large e commerce site which is to be multi lingual and support multi currencies. The site needs full content...
    2. linking on non frame page to a frame in a frame p
      Hello all, I'm doing a job for a friend. Is there a way to load a link from a non-frame page into a frame in a frame based page? Go to:...
    3. File Operations
      I am writing a project in PHP for Unix based systems and may need to store data in files as apposed to an SQL server, I know there are many...
    4. Form validation for multi-rows and multi-columns
      Hello All, I have a classical ASP form with multi-rows and multi-columns that allows users to enter multiple records at once. How do you check...
    5. Database Operations
      After creating a data source to a database in DMX is it possible to create database tables, add/edit table fields, etc.
  3. #2

    Default Re: Multi-Frame Operations

    Sounds like a job for a script.

    Bob

    Bob_Levine Guest

  4. #3

    Default Re: Multi-Frame Operations

    Actually a fairly simple script:




    Sub RotateTextFrames()
    Dim objInDesign As InDesign.Application
    Dim objDoc As InDesign.Document
    Dim objTF As InDesign.TextFrame

    Set objInDesign = CreateObject("InDesign.Application")
    Set objDoc = objInDesign.ActiveDocument
    For Each objTF In objDoc.Selection
    objTF.Rotate 45
    Next objTF

    End Sub






    If you wanted to get fancier:




    Sub RotateTextFrames()
    Dim objInDesign As InDesign.Application
    Dim objDoc As InDesign.Document
    Dim sAngle As String
    Dim objTF As InDesign.TextFrame

    Set objInDesign = CreateObject("InDesign.Application")
    Set objDoc = objInDesign.ActiveDocument
    sAngle = InputBox("Enter the angle to rotate")
    If IsNumeric(sAngle) Then
    For Each objTF In objDoc.Selection
    objTF.Rotate CDbl(sAngle)
    Next objTF
    End If
    End Sub






    If you have VB6, you could compile this and install it as a script in ID. Otherwise, you could run it as a macro from any MSOffice app.

    If you have more than 256 text frames in your selection, you'd have to modify it to work around the ID scripting interface's inane limitation of 256 items in a For Each loop.
    Stu_Bloom@adobeforums.com Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139