No, tried that. The tiff saves as a file with a crop box and 3 extra images outside of it, using ‘SAVE AS’.
I’ve resorted to the GUI, which I hate doing, but my scripting life seems to be one of constantly doing so. So slow.
This works; one single image, in one crop box., and it opens as a .pdf, which I can now expand and add 4 text boxes to, two of them with barcodes.
Thanks anyway.
set FileName to "AuburnAlumni LifetimeAchievement LARGE DIE LINE 121616_104500"
tell application "Adobe Acrobat"
activate
open file ((path to desktop as text) & FileName & ".pdf")
set saveTheName to ((path to desktop as text) & FileName)
tell application "System Events" to tell process "AdobeAcrobat"
keystroke "s" using {command down, shift down}
do shell script ("sleep 0.2")
click pop up button 1 of group 2 of window 1
do shell script ("sleep 0.2")
keystroke "Desktop" & return
do shell script ("sleep 0.2")
click pop up button 1 of group 1 of window 1
do shell script ("sleep 0.2")
click menu item "TIFF" of menu 1 of pop up button 1 of group 1 of window 1
do shell script ("sleep 0.4")
click button "Save" of window 1
do shell script ("sleep 0.4")
end tell
tell application "Adobe Acrobat"
activate
set theFile to ((path to desktop as text) & FileName & ".tiff")
close every document saving no
do shell script ("sleep 0.4")
open file theFile
end tell
tell application "Finder" to move file theFile to trash
end tell