Re: Snow-Leopard 10.6.3 consequences Apple-Script breaks (Alexander Repenning)

Toomas Altosaar <[email protected]> Mon, 5 Apr 2010 11:50:07 +0300
Newsgroups gmane.lisp.mcl.general
Message-ID <p0624080ac7df546335b5@[192.168.0.100]>
>Alex, My old set of files for Eval-Apple-Script worked for me up 
>until 10.6.2, but broke over the weekend when I decided to upgrade 
>to 10.6.3.  Also your new version also fails with a similar message.
>
>>  If this is a new OS X code "syso" "exec" then a new handler needs 
>>to be set up on the Lisp side.
>
>
>Toomas, what's involved in writing new Lisp Handlers?


As a bare minimum:

(defmethod do-nothing-handler ((app application) ae reply refcon)
   (declare (ignore refcon ae reply))
   nil)

(install-appleevent-handler :|syso| :|exec| #'do-nothing-handler nil)

If you need to actually have something done when the OS passes this 
message to the Lisp application then you will have to specify that 
action with your own handler.

_______________________________________________
info-mcl mailing list
[email protected]
http://clozure.com/mailman/listinfo/info-mcl