convert tif - prevent renaming on single page
Posted: 2011-01-11T17:42:28-07:00
I'm running convert from a shellexecute in an outlook vba to handle bulk attachments.
When they arrive the vba saves the attached TIF or PDF and then runs convert to separate the pages into sequentially numbered TIF's
However if someone sends a single page the resulting filename is File_Name_%02d.tif instead of just File_Name.tif or even File_Name_00.tif
Does anyone know of a way to prevent it from adding the suffix if it's only a single page?
When they arrive the vba saves the attached TIF or PDF and then runs convert to separate the pages into sequentially numbered TIF's
However if someone sends a single page the resulting filename is File_Name_%02d.tif instead of just File_Name.tif or even File_Name_00.tif
Does anyone know of a way to prevent it from adding the suffix if it's only a single page?