The Restore Preview command restores a digital resource preview from a file.
Restore Preview digital_resource_id
Result: Boolean - always true.
The integer digital resource ID number of the file preview to be restored. | ||
The file alias, file specification, or AppleShare file path. | ||
Example: Replace page 4 with page 1 of a digital resource extended preview.
tell application "Virtual Ticket 8.0"
display dialog¬
"Be sure that QuarkXPress file types are set up in
Virtual Ticket to be thumbnailed with an extended preview."
set fileId to item 1 of¬
(Add Files {"Jobs:000001 - Rockport Spring Cat:Brochure"})
Update Digital Resources (fileId) without changed files only
-- replace page 4 in extended preview by page 1
Save Preview fileId into file "SavedPreview"
Restore Preview fileId from file "SavedPreview" page number 4
end tell