What I did now is that I wrote a small powershell script:
Code: Select all
$pages = identify -format "%n " [name of tiff file]
echo $pages.subString(0, $pages.indexOf(" "))
Thanks for your help
Code: Select all
$pages = identify -format "%n " [name of tiff file]
echo $pages.subString(0, $pages.indexOf(" "))