Scaling object by %

I have pairs of objects of different sizes that have to be scaled in proportion to each other and, as one can't move the rules in Pages 5 [cf PageMaker] this has to be done visually for one and then to the same % for the other. Even if both objects are selected resizing only effects one of them.
As far as I can see from playing and from http://docs.info.apple.com/article.html?path=Pages/2.0/en/slng1602.html
one can only use absolute sizes.
Please prove me wrong!
Cheers, Colin
PS - thinking of getting a new iMac and 1Mb of RAM does not seem a lot - any suggestions for an amount that will keep Pages in the fashion to which it would like to be accustomerd? 2Mb?
iBook G3, 900Mhz, 640Mb RAM Mac OS X (10.4.8) Palm with TomTom

This is fairly simple with an AppleScript.
<PRE>try
tell application "Pages"
set theSel to (get selection)
if class of theSel is list and (count of theSel) > 0 then
display dialog "Enter the percent by which to scale the selection:" with title "Scale by Percent" default answer "200"
set theScale to (text returned of result) as real
set theScale to theScale / 100.0
if (theScale > 0) then
repeat with x in theSel
set h to (height of x) * theScale
set w to (width of x) * theScale
set properties of x to {width:w, height:h}
end repeat
else
error "The scale must be number greater than 0"
end if
else
error "There is nothing selected which can be scaled."
end if
end tell
on error theErr
display dialog theErr buttons {"OK"} with title "Error running script"
end try
</PRE>
Use the AppleScript Utility to enable a scripts menu, which allows you easy access to scripts such as this.
Titanium PowerBook   Mac OS X (10.4.7)  

Similar Messages

  • Moving scaled objects problem

    Hey Guys, hope all are having a great Summer!!
    My problem(s)...created a simple graphic, pencil & paint brush drawing (separate, not drawn together nor grouped together) to replace the 2 letter L's in "illustrator. Completed w/no problem, placed where I wanted to use them (a business card), but when I tried to move the word(in approx. 9 pt type) or scale larger I would get this warning... "Can't move the objects. The requested transformation would make some objects fall completely off the drawing area."
    note: drawings contain a couple of simple 2 color grad., scaling using the "shift>drag" method, also tried to "option>drag" to duplicate! What am I doing or did do wrong?
    Working on a mac PPC 2.0, 2gb ram, Illy CS2
    Thanks for any input! Les
    PS art board is 8.5x11

    OldBob, Thanks for the link!!!! cleaned up stray points regardless, zoomed out like suggested- had plenty of room on scratchboard, however when I selected my design (drawings & type(outlined of course)) I seemed to also select 2 of my guides (which even though locked persisted to select & move with my drawing!) Hit ungroup and the problems went away!!! Don't know really why this happened but well.. WE got it to work!! Thanks so very much for your fast reply!! Les

  • Scaling objects without scaling corner effects

    When I scaled an object with Command-> and Command-< in CS3 (Mac), the corner effects would not be scaled. If I had 4mm round corners, they would still be 4 mm after scaling the object. In CS4 however, the corner effects are scaled too. Is there a simple way to scale an object WITHOUT the corner effects? I'm sure it's possible, but I can't find the answer...

    Thanks, but that only works when you click and drag to scale. I am talking about scaling with key's only: cmd-< and cmd->. I can't see an option or anything to use those keys and NOT scale corner effects. Okay, of course you could say 'Well, why don't you click and drag then!' but there is a specific document I have to work on every week that almost requires me to use the key commands for scaling.

  • Some questions about quality of displayed video, matching scaled object, and a funny issue occurs in my VI

    Hi, 
    I am doing a pattern recognition project and come up with a VI (please find attached). There are something I am not sure and would like to ask:
    1. The VI works, but in a funny way: most of the time I have to switch the "Create Template/Search for pattern" button twice in order to get the VI works fine (there were only a few times I just need to click the button once). What is the problem here and how to fix it?
    2. I understand that IMAQ Match Pattern works with RGB images. So is there anyway I still can get RGB images pass through IMAQ Learn Pattern, IMAQ Match Pattern, whilst the 2 "Template" and resulting "Image" are still displayed in color mode.
    3. Is there anyway I can still detect the object if scaling becomes an issue (as I need to move from far distance to approach the object)? To address this issue, do I need to use IMAQ Match Geometric Pattern, which I learn from somewhere in the forum that it took a lot more time to match my result comparing with IMAQ Match Pattern?
    Thanks very much.
    Solved!
    Go to Solution.
    Attachments:
    pattern_recog.vi ‏128 KB

    Sorry about silly question 2 (RGB <--> color). Actually, in my VI all the IMAQ Extract, IMAQ Pattern Match, etc.. can only work with Grayscale (U8) images. Whenever I switch the images to RGB (U32) there will be errors of Incompatible image type (error-1074396077). As I understand, IMAQ Extract and IMAQ Pattern Match should be able to work with RGB (U32) images. Am I right?
    Attachments:
    pattern_recog_test1.vi ‏128 KB

  • How to use a scaled object(MC) to fill the background with the new properties

    So lets say i have a stage 300 to 200 and all object that i have are for this dimensions.Also have an pattern function that fills the background.
    But the user is thinking of resizing the stage to lets say 1024 to 480 (he switched from a phone to a tablet).And now the scale of the objects in the tablet screen are more than 3times before(when seen on the Phone)
    How do i save the current new size object and use it in the creation of the new background (the 1024x480).
    currently i have this :
    public static const GAME_ORG_WIDTH:uint = 300;
    public static const GAME_ORG_HEIGHT:uint = 200;
    public function MainClass_road() {
                                  addEventListener(Event.ADDED, init);
                        public function init(e:Event):void{
                                   stage.scaleMode = StageScaleMode.NO_SCALE;
                                     stage.align = StageAlign.TOP_LEFT;
                                     stage.addEventListener(Event.RESIZE, setUpScreen);
                        public function setUpScreen(ev:Event):void{
                                  stage.removeEventListener(Event.RESIZE, setUpScreen);
                                  if(stage.fullScreenHeight > stage.fullScreenWidth){  
                                            gameStageWidth = stage.fullScreenWidth;
                                gameStageHeight = stage.fullScreenHeight;
                                  }else {
                                            gameStageWidth = stage.fullScreenHeight;       // 480
                                            gameStageHeight = stage.fullScreenWidth;                     //1024
                                  rescaleRatio = gameStageWidth / GAME_ORG_WIDTH;  
                                  //rescale every object, ie:
                                myC.scaleX = myC.scaleY =   rescaleRatio;
                       //start filling the Background with the pattern
                                       tileBgF();
    and then I use the while loop for filling the screen/background
    public function tileBgF(e:Event=null):void {
                                                      var bgClip = MyC;
                                                      var i:int = 0;
                                                      var j:int = 0;
                                                      while (bgClip.x < stage.stageWidth) {
                                                                bgClip = MyC;
                                                                while (bgClip.y < stage.stageHeight) {
                                                                          bgClip = MyC;
                                                                          tileLayer.addChild(bgClip);
                                                                          bgClip.x = bgClip.width * i;
                                                                          bgClip.y = bgClip.height * j;
                                                                          j++;
                                                                j = 0;
                                                                i++;
                                                      addChildAt(tileLayer,0);
    why does it give me
    Line 52
    1120: Access of undefined property MyC.
    in public function tileBgF
    and further more.After filling the background/screen with the pattern , how do i save it all like one big bitMap  so i can use /add it after time without doing all the checking of screen and things again.

    and is it better to use
    stage.fullScreenHeight
    in the while loop or leave it like it is ,or its irrelevant

  • Resizing movie without scaling objects

    I would like to have a button in a movie that, once pressed,
    will resize the height and width of the .swf movie, but I don't
    want anything else on screen to be scaled to reflect the change in
    movie size.
    For example, if the movie dimensions are doubled in size, I
    don't want a text box to double in size - I want that to stay the
    same size.
    Anyone know how to solve this?

    Heres an example of what I mean below. The width of the flash
    movie resizes to fit different browser resolutions. The image at
    the back also moves as the browser window is resized. All whilst
    the menu in the centre of the screen remains the same size.
    http://www.minus.dk

  • Reducing Slide Size without scaling objects

    Hi All,
    I have a presentation that is in 2 sizes 1920X1220 and 1920X1080. If we increase the custom size of a slide show it does not resize the type and content.
    If we try to decrease the size it resizes the type and content.
    Unfortunately we started making changes to the 1920X1220 and need to resize it down.
    Is there a way to reduce the size of a slide without it scaling the content and type?

    Is there a way to reduce the size of a slide without it scaling the content and type?
    Nothing that's especially convenient. If you copy elements from the larger document, and paste them into the smaller document, the original size(s) will be retained. Everything will then have to be realigned in the smaller document (the pasted position is always relative to the upper-left corner of the receiving page, so the pasted elements will no longer be centered on a different size page).
    Message was edited by: Brie Fly

  • About Scaling objects when imported 3D files

    is there a workaround to prevent Photoshop modify the scale of 3D objects when importing them ?
    In fact, PS try to optimize thesize of the object regarding the size of the picture...I should prefer either the opposite or nothing at all, to allow me to define the definition and the resolution of the file to allow me to print at scale 1:1 the different views of my model in orthographic view...
    In addition it could help also to render different object imported one by one (at their respective scale) and merge in a single layer...
    Many thanks

    PS will retain cameras in 3DS files and not normalize the mesh in relation to the overall scene scale, but that's as good as it gets, at least as far as I know...
    Mylenium

  • Scaling objects and having the distance from the center point remain the same

    Hello,
    I hope someone can help!
    How do you scale a shape--a square, say--from small to large then back to small and have the distance be the same from the shape's center point?
    I'd like to be able to specify the distance and the sizes of the smallest shape and the largest shape and the steps in between.
    There must be an easier way than the time consuming method I'm using.
    Thank you.

    1 Make your smallest and largest square or object
    2 make a blend with specified number of steps and specify the number you need.
    3 at this point it is not necessary to have them space the finally distance.
    4 then make the blend
    5 Use the Effects>Distort and Transform>Transform to copy, reflect and move and create a new instance of the blend.
    6 Expand the Appearance of the Transform now eliminate one of the large squares using the direct select tool and ungroup the squares.
    (you have to ungroup twice)
    7 Now holding down the shift key move one of the smallest square to the position you want it to be in the end.
    8 do the same for the other smallest square.
    9 now select all the squares and use the horizontal center distribute command in the align panel or control panel with the option to align to selection.
    That should do it.
    Actually simpler then the number of steps indicates.
    You get this

  • Object scaling does not seem to work correctly with objects containing Bezier curves

    I created a closed object that had a Bezier curve as part of it's definition. I wanted to scale it by 110% and then use this second enlarged object to create a sort of a background underneath the first object to create a sort of a shadow effect. But rather than the second object being uniformly larger than the first it intersects the original object in ways that don't make sense to me.
    Is there an easier/differnt way to create an effect like this? I can do it but have to manually adjust a lot of points in the new object so that they create a uniformly larger version of the original object but it's a lot of effort for something that works fine for normal polygons with straight lines (e.g. a star with 5 points).
    Thanks for any suggestions or ideas.
    -Bubba
    ps - i've attached an image of what I get with this technique of creating two examples of two objects one a 110% scale version of the other. The first star shows the effect I'm trying to get and the second shows the problem (the red border does not surround the black object uniformly around the perimeter)

    Bubba,
    Referring to post #16 (trying to get it more right from the start than in post #15),
    the scaling will be symmetric with parallel segments if the original object is rotationally symmetric and reflectionally symmetric about two orthogonal axes, and that is also the case.
    The scaling of the object in post #16 is in fact symmetric because corresponding segments of original and scaled object have the same distance all the way round.
    The five star in the OP is rotationally symmetric but only reflectionally symmetric about one axis, so the segments are parallel, but the scaling is not symmetric because there different distances between corresponding segments, even though you were actually satisfied with it:
    The first star shows the effect I'm trying to get and the second shows the problem
    This could be mended by scaling from the centroid.
    If you need to have the same distance between all the segments of original and scaled object, with scaling you are restricted to objects where all segments start and end at the same distance from the centroid, as in regular polygons (including the square), regular stars, and the circle (with its curved segments). Objects with curved segments derived from regular polygons and stars will have varying distances and non parallellism within each segment.

  • Timeout Object Problem: Can't recreate scaling error

    In my movie there is a function that scales 3D objects over
    time using a timeout object. The 3D objects are in an array that is
    shuffled each round, and based on the outcome of the array shuffle,
    some 3D objects are scaled and some are not.
    I have been testing this for a while and it almost always
    works as I anticipate, however I have encountered some events
    wherein unexpected 3D objects are scaled. To track down the error,
    I have been tracing the results of the array shuffle, as this is
    what drives the scaling. When I encountered an event where
    unexpected objects were scaled I recorded what I thought was a
    “bad” array shuffle. Then, disabling the array shuffle
    function, I set the shuffle result to my “bad” array. I
    expected it would recreate the problem (unexpectedly scaled
    objects) however it worked accurately this time around.
    Are there any rules regarding timeout objects that are
    commonly broken that may be causing this? Does a timeout object
    behave any differently in the Director environment than it does in
    a published projector? Any broad or general tips (sorry I
    can’t post the code) are appreciated.

    Hi
    In the "fShrink", function the variable called "sTimeout" is
    a string:
    sTimeout = String("ShrinkTimeOut"+(_system.milliseconds));
    in the function "fShrinkLoop", the second parameter being
    passed in is the timeout object. Therefore in this function, the
    variable called "sTimeout" is a timeout object.
    The thing to remember is the object that sends the message
    determines what the parameter is (it doesn't matter what you name
    the parameter).
    In the case of Timeout objects, the first parameter is the
    object that Director sends the timeout callback message to (in this
    case, your model object... and since your model doesn't have a
    method for handling the response, Direct tries the global name
    space instead - but still conveniently sends the reference to the
    'callback object' as the first parameter). The second parameter is
    always a reference to the timeout object itself.
    (on a side note - you have taken advantage of a quirk with
    timeout objects that let you pass parameters with timeout callbacks
    by using the 'callback target' but letting a movie script handle
    the callback). If you want to send more than one parameter, you
    have to bundle them together into a single paremeter object).
    -- Luke

  • Is there a way to scale multiple objects at once?

    I'm trying to select and scale three objects (imported PSD files) at the same time. It seems like it will only scale one at a time (i.e., two of the selected objects do not scale, while the other does). Is there something I'm overlooking, or is Captivate just really deficient in this area?
    Alternatively, is there anywhere you can enter a scale percentage manually? I want all of the scaled objects to remain the same size in proportion to one another.

    I have three objects (see below) and I want to scale them all at the same time (so they scale proportionally). Something like this is easy in Illustrator or any Microsoft product.
    I did find a fix though - apparently if I group them first, I can scale the group, and ungroup the objects after the scale operation. It's not the most elegant solution, but it will do.

  • 9 slice scaling - not working as described

    In order to create a 9 slice scaled object, I have tried
    Flash help and various tutorials on the web and none of them
    produce the result they say they will. All of the instructions say
    basically this:
    Create a movie clip symbol
    Enable 9 slice scaling in its properties
    Open the symbol in symbol editing mode
    Move the guides where you want them to define the
    non-scaleable regions
    Place an instance of the symbol on the stage
    At this point, I am supposed to be able to scale the object
    with the guides taking effect. I have NOT once been able to do
    this, the whole thing always scales and distorts the corners in the
    way the guides are supposed to prevent! One tutorial told me that I
    had to preview the movie and then I could see the result, but that
    was not true either. Is there a step missing? Flash is constantly
    one of the apps where I find tutorials and help often don't produce
    the advertised result.

    Don't know what to tell you. I've never done 9-slice and I
    just looked it up in the help files and it worked both on the stage
    and on publish.
    Do you have Control -&gt; Enable Live Preview checked?
    That is what is needed to see it on stage.
    Are you trying to scale imported bitmap images? They won't
    9-scale.
    Does your clip have nested clips inside it? They won't
    9-scale.
    Can't think of anything else.
    Oddly enough I almost always find the help produces exactly
    the advertised results.

  • Using shift key to constrain proportions while scaling

    I notice that using the shift key doesn’t currently constrain proportions when scaling objects. This is pretty standard behaviour in graphics apps and it would be good to have this included in Muse. There seems to be nowhere to manually enter a scale factor either, which would be useful.

    Looking into this further, it seems that the behaviour is inconsistent. A placed rectangle object can be resized proportionally when constrained with the shift key, but this doesn’t work the same way when scaling a placed image. Additionally, using the crop tool on a placed image does allow constraint using the shift key.
    Testing with grouped objects, a group of plain rectangles can be resized proportionally, but a group of images cannot.
    The answer is to use the lock button when resizing images but it would be better if the behaviour were consistent across object types.

  • What happened to relative scaling?

    I have had to go back to Indesign CS4 because CS5 doesn't let me click to specify a centre point for scaling objects or images without holding options (which brings up a dialog). Is this a bug or is there something I'm missing?

    Personally I preferred the CS4 way of scaling, it takes longer in CS5.
    To click on a part of an image and scale from that point is quick and easy.
    To click and drag the scale point to where you want to scale and then scale is a pain for these reasons:
    1. It's slower
    2. You have to find which corner the scale point is at to move it.
    3. Moving the scale point is fiddly, if you miss it the image scales in the direction you click and drag
    Alt clicking brings up a dialog box which adds another thing to do which is slower.
    I noticed Illustrator CS5 still has relative scaling.
    If anyone from Adobe reads this, please bring it back to InDesign.

Maybe you are looking for

  • How To Read RTF file in JAVA?  Using  iText?

    How To Read RTF file in JAVA?  Using  iText?..... import java.io.*; import com.lowagie.text.*; import com.lowagie.text.rtf.*; public class RTF3 { public static void main(String[] args) { // System.out.println("This example generate a RTF file name Sa

  • Using SHeaderFROM in mailsender CC and in receiver determination

    Hi I am using a mailsender adapter where I need to send messages from one particular sender adress to one folder and messages from other senders to an other folder. In my mailsender communication channel I am using the AF_Modules/PayloadSwapBean modu

  • Cannot play my custom genres like I used to, wonder what has changed?

    Bought this new ipod Touch 5 and synced with my itunes.  The songs have synced properly, but when I used the Genres option, I'm able to find the custom genres I created, but there are no songs under them?  I can access the same songs when I go throug

  • Plantage organiseur photoshop elements 10 fonction messages photos

    Bonjour le forum. Je suis nouveau membre. Voici mon problème: J'utilise Photoshop Elements 10 sur PC Windows Vista. Quand je veux partager des photos par la fonction Message Photo, l'Organiseur cesse de fonctionner (message puis fermeture). Ceci se p

  • How do I download from dropbox to my macbook air?

    I am an author. I spoke my book to an audio producer and he put it on Dropbox.  To e-transfer it to disc I need to download my dropbox file onto my MacBook Air and the file is only available in a link from Dropbox. How do I do this?