--[SCRIPT]
set tiff_file to POSIX file "/path/to/tiff/file/my_file.tiff" as alias
tell application "Finder"
set file_name to name of tiff_file
end tell
tell application "Preview"
open tiff_file
activate
tell application "System Events"
tell process "Preview"
set w_names1 to name of windows
--click menu item "Print…" of menu 1 of menu bar item "File" of menu bar 1
keystroke "p" using {command down}
click menu button "PDF" of sheet 1 of window file_name
click menu item 2 of menu 1 of menu button "PDF" of sheet 1 of window file_name
repeat
if (count of windows) > (count of w_names1) then exit repeat
delay 0.1
end repeat
(*
set b_name to name of window 1
click button b_name of window b_name
*)
click button 4 of window 1
end tell
end tell
end tell
--[/SCRIPT]