Example: GetNumberPages

 

To find out the number of pages in the active document:

[GetNumberPages(0)]