Exists Digital Resource

Exists Digital Resource

The Exists Digital Resource command checks if a file exists in the database as a Digital Resource.

Exists Digital Resource file

Result: file_exists


 

Arguments

Type

Description

file

<Any>

The file alias, file specification, or AppleShare file/folder path.

file_exists

Boolean

True if file exists in the database, false if not.

Example: Determine whether a particular digital resource exists and, if so, delete it.

tell application "Virtual Ticket 8.0"
if (Exists Digital Resource ¬
"Jobs:000002 - Builders Catalogue:Annual Report") then
Delete Digital Resources¬
(Get Digital Resource Ids¬
{"Jobs:000002 - Builders Catalogue:Annual Report"})
end if
end tell


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