Ask a Question related to Adobe Indesign Windows, Design and Development.
-
Guy_Smiley@adobeforums.com #1
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
-
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... -
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:... -
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... -
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... -
Database Operations
After creating a data source to a database in DMX is it possible to create database tables, add/edit table fields, etc. -
-
Stu_Bloom@adobeforums.com #3
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



Reply With Quote

