[Pythonmac-SIG] eliminating appscript-triggered Dock icon
has
hengist.podd at virgin.net
Tue Apr 1 14:23:37 CEST 2008
On 1 Apr 2008, at 13:19, has wrote:
> The command line python interpreter automatically upgrades to a full
> GUI process whenever OS APIs linked to the Window Manager are
> called. [...]
As an addendum:
Note that this isn't an issue with Ruby as the ruby interpreter only
upgrades to a GUI process if you call TransformProcessType yourself.
e.g. This is what rb-appscript's OSAX module does whenever it needs to
display a dialog, and it works fine.
With the general de-Macification of Python 3.0 being planned, I wonder
if the python3.0 interpreter should take the same approach, leaving it
up to individual modules to decide if and when they want a GUI
connection? Anyone any thoughts?
Regards,
has
--
Control AppleScriptable applications from Python, Ruby and ObjC:
http://appscript.sourceforge.net
More information about the Pythonmac-SIG
mailing list