Please enable JavaScript to view this site.


Read-only property of the script line: Inserts.


This read-only property displays the total number of occurrences of an insertion, based on the starting and endings dates of the parent DiaryGridLine, and the totality of the insertions stemming from the insertion rules of the current Insert script line (the Specific Dates, Repeating Dates, and Variable Dates properties).


You can get an overview of all the occurrences in an Insert script line by inspecting the All Dates property.


Note that if 2 or more of the Specific Dates, Repeating Dates, and Variable Dates properties generate the same date as an insertion occurrence, that date will only be counted once.


If a DiaryGridLine has 2 Insert script lines, and both of these generate an insertion on the same date, then each Insert will generate its pages on that date. In principle these pages will be inserted in the order in which the Inserts appear in the Script Editor, but the combination of Insert Occurrence, Insert First Page and the inserted template's Start Grid on, can lead to unexpected sequences of pages and it is always best to setup your script so that only one Insert script line ever generates an insert at the same time.


See also: Page Count, Pages/Occurence.


Topic 046000, last updated on 01-Aug-2020