Exemplo n.º 1
0
 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
Exemplo n.º 2
0
 def packnone(self, val):
     return NSAppleEventDescriptor.nullDescriptor()
Exemplo n.º 3
0
	def packnone(self, val):
		return NSAppleEventDescriptor.nullDescriptor()
Exemplo n.º 4
0
 def pack_none():
     return NSAppleEventDescriptor.nullDescriptor()
Exemplo n.º 5
0
	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