What is Windowpaner?
Windowpaner can divide a rectangular area into an array of smaller rectangular areas, using margins and gutters specified by the user. Based on that array of rectangular areas, the macro can create rectangles, or lines, or guidelines. A number of options are available to specify how and where the new content is created.
See Windowpaner in use (5 Quick Demos):
Screenshots:
Using the macro: Overview.
Use of the macro involves selecting one or more objects, then clicking the Create button.
The settings on the Main page of the userform determine the type of content to be created. Settings on the R & L Opts and Guides Opts pages of the userform can be used to specify some options for where and how that new content is created.
A fairly comprehensive description of how the macro works, and a few demonstrations with explanatory comments, can be found in this "Describe and Demonstrate" video.
Windowpaner - Full "Describe and Demonstrate" Video:
Using the Comboboxes.
The boxes for numeric entry are comboboxes. The drop-down list for a combobox can contain values stored for convenient access. If a combobox is not locked, then when a value in thatcombobox is used by the macro, that value is added to the top of the list. If an existing value is used from the list, then that value is moved to the top of the list. Values can also be manually added to the list.
Ctrl+clicking on a combobox sets that combobox to its default value.
Right-clicking on a combobox brings up a menu of options for managing it.
These options may include:
Units of Distance.
For a combobox that represent a distance, values are applied by the macro in whatever units (inches, millimeters, etc.) are shown beside the combobox. Those units can be specified by the user through the right-click context menu.
If “Follow Horizontal Ruler Units” is chosen, then the units for the combobox are the same units that are in use in the document for the horizontal ruler. If those units are changed in the document, then the macro automatically changes the units in the combobox to match.
Although this documentation makes references to “the list” for the combobox, there is not necessarily only one list. The combobox maintains a separate list for any unit that is used in it. When units for the combobox are changed, then the list associated with those units is loaded. The number of decimal places, and also whether a list is locked or not, are things that are handled independently for each list.
A Video Describing and Demonstrating the Special Features of My ComboBoxes:
Windowpaner Subs in the Macro Manager.
Compatibility.
Windowpaner was put together in a CorelDRAW X7 environment, and should work in versions X7-2020.
OK, where's the macro?
JQ_Windowpaner_Current.zip (most recently updated 2021-07-17).
That includes the .GMS file and a simple icon that can be used on a CorelDRAW Toolbar.
Please note that, starting with the version released on 2020-05-03, this macro uses a different scheme for storing combobox value lists and some preferences in the Registry. If you have been using an older version of this macro, those "old" value lists and preferences will not be there when you use the newer version. If you want to "clean out" those old entries that are not used by the newer version of the macro, the best way to do so is to run the Remove_Windowpaner_Registry_Entries sub, which will set the macro back to its default values.
This is an excellent and useful macro. Thank You Mr.JQ!