I have a basic script that was written in OS-9 for Cumulus 5
Now that im in 10.3.2, the script does not work at all. Cumulus quits immediately upon execution and gives an error of “connection not valid”.
I tried to open the Cumulus 6 dictionary to see if any of the objects/commands had changed since I noticed that in a prevous posting. The Cumulus dictionary has only two listings and basically only lists the open and quit command. Where is the dictionary?
Here is the script:
tell application "Cumulus"
tell front window
set imagecnt to count record
set counter to 0
set currentRecord to 1
repeat until counter = imagecnt
set recordname to name of record currentRecord of selection
tell application "FileMaker Pro"
show every record
get cell "Notes" of (every record whose cell "Image Name" is �
recordname)
copy result to recordnotes
get cell "Photographer" of (every record whose cell �
"Image Name" is recordname)
copy result to recordphoto
get cell "Subject" of (every record whose cell "Image Name" is �
recordname)
copy result to recordsubject
tell application "Cumulus"
activate
tell front window
copy recordnotes to field "Notes" of record currentRecord of selection
copy recordphoto to field "Photographer" of record currentRecord of selection
copy recordsubject to field "Subject" of record currentRecord of selection
set counter to counter + 1
set currentRecord to currentRecord + 1
end tell
end tell
end tell
end repeat
display dialog "Transfer of data has been successful."
end tell
end tell
Any help understanding why this won’t run in OS-X would be greatly appreciated.