Is the Add Page command for Layouts accessible in functions?
jjweimer
Sun, 07/21/2019 - 01:49 pm
Is the menu option "Add Page" for Layouts available within functions (other than through the execute menu path)?
If not, consider this as a feature request to have NewLayout include a /PAGES=(N) flag.
Yes:
LayoutPageAction/W=$layoutName appendPage
Although you need to keep track of how many pages, and tell Igor which page you want to add items (and pages are 1-based!)
July 21, 2019 at 02:27 pm - Permalink
I missed seeing that one. Thanks.
July 21, 2019 at 03:03 pm - Permalink
And don't miss this one: DisplayHelpTopic "Subwindow Syntax for Page Layouts"
July 22, 2019 at 11:18 am - Permalink