Re:Scripting Canto Cumulus 5.010
Re:Scripting Canto Cumulus 5.010
- Subject: Re:Scripting Canto Cumulus 5.010
- From: Mark Bjærgager <email@hidden>
- Date: Wed, 31 Oct 2001 13:37:26 +0100
Thanks a lot for your reply's to my question regarding Cumulus 5.010.
Nate suggested that that I should log of the Cumulus client after doing my
stuff. I modified my script so that it will interact 10 times with Cumulus,
then close every open collection. The next time it will open up the
connection again.
This seems to be a more stable solution, Cumulus does not drop off anymore.
Regarding OkeyDokey Pro, I do have Cumulus Client added to the response
list, it still doesn't respond to the Cumulus dialogs.
It seems like my script is OK now, but I still have some issues with it,
where Canto didn't think it through (IMHO). Did any of you guys figure this
one out...
If you Catalog assets [aFile] and this file IS logged in, it returns
_nothing_, try this...
Set aFile to "Macintosh HD:yourimagehere.jpg"
repeat 2 times
tell application "Cumulus 5 client"
set catref to catalog assets aFile to front collection
end tell
if catref "" Then beep
end repeat
On my mac this script run fine the first time, the second time catref is not
initialized and it errors out. ! Otherwise I could use this to see if a
asset were logged in, but instead it fails and I have to assume that it were
logged in, sucks big time.
Regards
Mark
>
Fra: Mark Bjfrgager <email@hidden>
>
Dato: Tue, 30 Oct 2001 09:18:20 +0100
>
Til: "<email@hidden>"<email@hidden>
>
Emne: Scripting Canto Cumulus 5.010
>
>
Hello all.
>
>
I am scripting Cumulus client 5.010 to add images to a Cumulus database, but
>
I am having some troubles with the client. Most often it is that the client
>
drops the connection to the server and Cumulus then shows a warning dialog,
>
from then on the client does not respond to my appleevents.
>
>
How can I test to see if there's a dialog in front of Cumulus ? How can I
>
remove it, I installed OkeyDokey Pro to see if it would remove any dialogs,
>
but it seems like O-K-P can't "see" the dialogs.
>
>
Best regards
>
Mark Bjaergager
>
_______________________________________________
>
applescript-users mailing list
>
email@hidden
>
http://www.lists.apple.com/mailman/listinfo/applescript-users