Menu

#186 AppleEvent handling

MacCVS
open
MacCvs (10)
5
2003-03-02
2003-03-02
No

Since we use MacCVS in an automated AppleScript-
based build environment we need to know if a cvs
operation completes without errors. Thus I added the
above code to extend the reply event by an error
number and string. This makes an running AppleScript
which is calling MacCVS cause an exception which
one can catch with the "try ... on error ... end try"
clause. I left the other reply parameters unchanged for
compatibility with existing applications calling MacCVS.
This way the status and diagDesc is added twice to
the reply, but I could imagine that over time MacCVS
migrates to the new type of return params. Might be
interesting what Richard Wesley
<hawkfish@electricfish.com> is thinking of this.

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.