Getting Group Page + Pack Count

Hi

Is there a way to get the below in a script rather than having to use a “set job info’s”? I’m guessing there is but I don’t know the syntax as I’ve only extracted document level meta data before

image

Just use:

Watch.SetVariable( "Pages" , Watch.ExpandString( "GetMeta(SelectedDatapageCount[0],11,Job.Group[0])" ) );

Easy enough? :slight_smile:

Brilliant thanks Phil, knew it would be something easy like that

Hi Phil,

Put that in but I’m getting
W3602 : Error 0 on line 8, column 1: Microsoft JScript runtime error: ‘SelectedDatapageCount’ is undefined

sorry, it should have said SelectedCount[0]

Thanks @Phil, thats working now