Get Digital Resource IDs

Get Digital Resource IDs

The Get Digital Resource Ids command retrieves digital resource IDs for a list of files using file paths.

Get Digital Resource Ids list_of_files

Result: digital_resource_ids


 

Arguments

Type

Description

list_of_files

List

List of files or folders as aliases, files specifications, or AppleShare file/folder paths.

digital_resource_ids

List

The integer digital resource IDs of the files found. A value of 0 indicates the file was not found.

Example: Determine the digital resource IDs of several files and verify that each digital resource exists in the database.

tell application "Virtual Ticket 8.0"
set ids to Get Digital Resource Ids¬
{"Jobs:000001 - Rockport Spring Cat:Brochure"¬
,"Jobs:000002 - Builders Catalogue:Annual Report"}
set allDigitalResourcesExist to (0 is not in ids)
end tell

 


Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.