'Send a pre-created appleevent, await the reply and unpack it'

def sendevent(self, event):

    if (not self.__ensure_WMAvailable()):
        raise RuntimeError, 'No    window    manager    access,    cannot    send    AppleEvent'
    reply = event.AESend(self.send_flags, self.send_priority, self.send_timeout)
    (parameters, attributes) = unpackevent(reply, self._moduleName)
    return (reply, parameters, attributes)
