Dynamically set Page ID property of Overlay object with script

Hi all,

Id like to be guided on how to reference the Overlay object property which determines which page ID to be allocated on a multi page Overlay.

I want to control this through script.

I figured out how to obtain the total number of pages on the overlay with the builtin function OverlayGetNumPages but I don't see another function to manipulate the Page ID property.


Thanks in advance.

Comments

  • I meanwhile figured out the StSetProperty() function with the OverlayPage attribute which could help me achieve what I am looking for but so far it's not working unfortunately. The overlay object was duly created as multipage though.

  • There is a modification on the fragment that you can set with a variable or xpath. Have you tried setting a variable in your script for that attribute?