Copy Paste WHXY

The Paste Attributes command is handy for quickly giving the same appearance to a bunch of objects. But it would also be helpful to give objects the same size or position. You can use the Properties panel to do that, but then you have to type in the size or position values each time you want to apply them, and you have to select each element one at a time. The commands in this extension make that process much more convenient.

To use the commands, first selelct an object and run Commands > WHXY > WHXY - Copy. This stores the object's size and position for later use. Now select one or more other objects and then run one of the WHXY - Paste commands. If you run "WHXY - Paste Size", for example, all of the selected objects will be scaled to the same size as the object you ran "WHXY - Copy" on, while maintaing their current locations. Or "WHXY - Paste X" will position the selected elements at the same X value as the original element.

When resizing bitmaps, you typically want to maintain their proportions to avoid distorting the images. The "WHXY - Paste Width Porportionally" command will apply the same width to each selected element, but it will scale each element's height proportionally to its width. The selection will then end up with the same width as the copied element but with selected elements' heights scaled proportionally to maintain the same aspect ratio. The "WHXY - Paste Height Porportionally" command does the same thing but in the vertical direction.

The "WHXY - Paste Size Porportionally" command scales each selected element to fit inside the bounding box of the copied element. For instance, if you run "WHXY - Copy" on an element that's 100x100 pixels, running "WHXY - Paste Size Porportionally" will then resize each selected element proportionally so that it fits within that 100x100 bounding box. Running "WHXY - Paste Size", on the other hand, would just make each element 100x100.

The commands will be more convenient if you assign keyboard shortcuts to them. Here are some suggested shortcuts:

alt-shift-C for WHXY - Copy
alt-shift-V for WHXY - Paste Size
alt-shift-W for WHXY - Paste Width
alt-shift-H for WHXY - Paste Height
ctrl-alt-shift-S for WHXY - Paste Size Porportionally
ctrl-alt-shift-W for WHXY - Paste Width Porportionally
ctrl-alt-shift-H for WHXY - Paste Height Porportionally
alt-shift-P for WHXY - Paste Position
alt-shift-X for WHXY - Paste X
alt-shift-Y for WHXY - Paste Y

Release history:

1.1.0: Added proportional resizing options.

1.0.0: Initial release. 2002-09-02.

Package contents

  • WHXY - Copy
  • WHXY - Paste Height Proportionally
  • WHXY - Paste Height
  • WHXY - Paste Position
  • WHXY - Paste Size Proportionally
  • WHXY - Paste Size
  • WHXY - Paste Width Proportionally
  • WHXY - Paste Width
  • WHXY - Paste X
  • WHXY - Paste Y
comments powered by Disqus