The module MiniAEFrame provides a framework for an application that can function as an OSA server, i.e. receive and process AppleEvents. It can be used in conjunction with FrameWork or standalone.
This module is temporary, it will eventually be replaced by a module that handles argument names better and possibly automates making your application scriptable.
The MiniAEFrame module defines the following classes:
__init__method should call the
__init__method for both classes.
FrameWork.Applicationbut with less functionality. Its eventloop supports the apple menu, command-dot and AppleEvents, other events are passed on to the Python interpreter and/or Sioux. Useful if your application wants to use
AEServerbut does not provide its own windows, etc.