On this page:
send-event

 (require mzlib/sendevent) package: compatibility-lib

The mzlib/sendevent library provides a send-event function that works only on Mac OS X, and only when running in GRacket (though the library can be loaded in Racket).

procedure

(send-event receiver-bytes    
  event-class-bytes    
  event-id-bytes    
  [direct-arg-v    
  argument-list])  any/c
  receiver-bytes : 
(lambda (s) (and (bytes? s)
                 (= 4 (bytes-length s))))
  event-class-bytes : 
(lambda (s) (and (bytes? s)
                 (= 4 (bytes-length s))))
  event-id-bytes : 
(lambda (s) (and (bytes? s)
                 (= 4 (bytes-length s))))
  direct-arg-v : any/c = (void)
  argument-list : list? = null
Calls send-event scheme/gui/base, if available, otherwise raises exn:fail:unsupported.