This content has been marked as final. Show 3 replies
you can't group TextFrame and Anchored/InLine Graphics in this TextFrame
you need to scale (in CS3 .Transform) each element separately - TextFrame-container and each Anchored/InLine Graphics
What would be the best way to do that? As an example I would have 8 textframes threaded together (each frame is a stamp, this script is for reducing the image to print the label that goes on the top of the stamp). Some frames could only be text, some only a graphic, some both, some blank. Below is an example of what have so far. This works if the frame is only text.
Rem SCALE ITEMS FUNCTION
Function myScaleItems (myLabelDocument)
For I = 4 to 11
myLabelDocument.textframes.item(I).locked = False
myLabelDocument.textframes.item(I).HorizontalScale = cInt(myLabelPercent)
myLabelDocument.textframes.item(I).VerticalScale = cInt(myLabelPercent)
If select the multiple items within an area, group them, and change the x & y scale without using a script I get the results I need. Why do I need to scale each item separately?
What is the format of the VBscript command to select multiple object within a area?
What is the format of the VBscript command to group those items once they have been selected?