def _newevent(self, suite, code, args): evt = NSAppleEventDescriptor.appleEventWithEventClass_eventID_targetDescriptor_returnID_transactionID_( fourcharcode(suite), fourcharcode(code), NSAppleEventDescriptor.nullDescriptor(), 0, 0) evt.setDescriptor_forKeyword_(self._codecs.pack(args), fourcharcode(kae.keyDirectObject)) return evt
def packnone(self, val): return NSAppleEventDescriptor.nullDescriptor()
def packnone(self, val): return NSAppleEventDescriptor.nullDescriptor()
def pack_none(): return NSAppleEventDescriptor.nullDescriptor()
def _newevent(self, suite, code, args): evt = NSAppleEventDescriptor.appleEventWithEventClass_eventID_targetDescriptor_returnID_transactionID_( fourcharcode(suite), fourcharcode(code), NSAppleEventDescriptor.nullDescriptor(), 0, 0) evt.setDescriptor_forKeyword_(self._codecs.pack(args), fourcharcode(kae.keyDirectObject)) return evt