Handle the ****/**** appleevent wildcard when called as a main program, so that it becomes a handy debugging tool (BuildApplet, copy aete resource, apply applescript to it).
This commit is contained in:
parent
486f138224
commit
55a0bde290
|
@ -176,7 +176,7 @@ class _Test(AEServer, MiniApplication):
|
||||||
AEServer.__init__(self)
|
AEServer.__init__(self)
|
||||||
self.installaehandler('aevt', 'oapp', self.open_app)
|
self.installaehandler('aevt', 'oapp', self.open_app)
|
||||||
self.installaehandler('aevt', 'quit', self.quit)
|
self.installaehandler('aevt', 'quit', self.quit)
|
||||||
self.installaehandler('aevt', '****', self.other)
|
self.installaehandler('****', '****', self.other)
|
||||||
self.mainloop()
|
self.mainloop()
|
||||||
|
|
||||||
def quit(self, **args):
|
def quit(self, **args):
|
||||||
|
|
Loading…
Reference in New Issue