Yvan, I try in many way to do it but no success, so I'm afraid that
this is
bad implementation of AppleScript so maybe your only way will be
the GUI
Thanks
I was afraid of that.
Not because I dislike GUI scripting (which I don't) but because
filling the starting page and the last page fields with GUI scripting
is a bit boring too.
I never found a way to get the correct way to reach these fields so,
I must assume that the dialog is in default status so that
keystroking "1" will set the number of copies
keystroking tab will move to the "first page" field
keystroking numpage as string set the value
keystroking tab will move to the "last page" field
keystroking numpage as string set the value
keystroking return validate the call.
It works but relying on a simple asumption is not really pleasant.