[Pythonmac-SIG] Accessing front window in IDE
Jack Jansen
jack@oratrix.nl
Fri, 08 Oct 1999 17:53:13 +0200
> At 6:28 AM -0400 10/08/99, Gordon Worley wrote:
>
> >Could you please write a short example of how to [get the frontmost window].
>
> OK, here's a script that, when run, adds "# Spam!" to the end of the
> frontmost window if that's an editor window.
Hmm, it would be nice to have a bit of an API for this that IDE extension
scripts could use. If there was an easier interface than mucking around with
the Window, PyEdit and waste internals that might prompt more people to write
nifty little utilities.
--
Jack Jansen | ++++ stop the execution of Mumia Abu-Jamal ++++
Jack.Jansen@oratrix.com | ++++ if you agree copy these lines to your sig ++++
www.oratrix.nl/~jack | see http://www.xs4all.nl/~tank/spg-l/sigaction.htm