Re: Cumulus Droplet with comments?
Re: Cumulus Droplet with comments?
- Subject: Re: Cumulus Droplet with comments?
- From: Wim van Ommen <email@hidden>
- Date: Thu, 15 Mar 2001 22:47:34 +0100
>
Greetings, ScriptWarriors!
>
>
I need to take my finder comments scripting to the next level [many, many
>
thanks, Michelle, for your previous lessons. This grasshopper is grateful.]
>
>
I need my droplet to do this:
>
>
I drop a folder of photo files, usually tiffs, onto the droplet.
>
The finder gets the contents of each item's finder comments window and
>
passes it off to Cumulus.
>
Then, cumulus makes a new catalog, adds the photos to the catalog and sets
>
the "notes" field of each asset according to each photo's finder comments.
>
This works if you first open a catalog.
You can do this with a script also but as I am not in the office I don't
have the server her so yust change Cumulus S5.0 in Cumulus Client.
on open (itemList)
repeat with thisItem in the itemList
tell application "Finder"
set itemName to name of thisItem
set itemComment to comment of thisItem
set itempath to container of thisItem as text
end tell
set thisitem2 to thisItem as list
tell application "Cumulus S5.0"
set theasset to catalog assets thisitem2 to front collection
try
set therecid to ID of theasset
set value of field "Notes" of record id therecid of front
collection to itemComment -- (watch linewrap)
end try
end tell
end repeat
end open
Hope this helps,
Cheers Wim.
--
----------------------------------------------------
Why use Windows since there is a door (Andre Fachat)