Adding assets from a network volume?
Adding assets from a network volume?
- Subject: Adding assets from a network volume?
- From: "T.J. Mahaffey" <email@hidden>
- Date: Tue, 10 Apr 2001 09:33:44 -0500
Hi, folks.
I'm running into a problem using this script that catalogs image files to
Cumulus and sets the asset's notes field to the contents of the file's
comments.
It works great with images located on a LOCAL drive, but errors out when the
folder of images is located on this network volume.
tell application "Finder"
activate
set itemList to every file of folder (choose folder)
repeat with aktItem in itemList
set itemComment to comment of aktItem
set theasset to name of aktItem
tell application "Cumulus 5 Client"
activate
set recID to (catalog assets (aktItem as alias) to front
collection) -- this is the line that comes up in debug
tell recID
set value of field "Notes" to (itemComment as text)
end tell
end tell
end repeat
end tell
Anyone have an idea?
Many thanks in advance.
T.J. Mahaffey
email@hidden