application scripting
Chris Liechti
cliechti at gmx.net
Mon Nov 26 13:27:25 EST 2001
Keith Ray <k1e2i3t4h5r6a7y at 1m2a3c4.5c6o7m> wrote in
news:k1e2i3t4h5r6a7y-CDB5E9.19575425112001 at news1.rdc1.sfba.home.com:
> In article <Xns9165290659FCcliechtigmxnet at 62.2.16.82>,
> Chris Liechti <cliechti at gmx.net> wrote:
> [...]
>> i assume that the python interpreter is embedded and available for the
>> user that wants to write scripts (eg a menu entry to start the
>> recorded scripts and maybe an interactive console, could be nice for
>> testing).
>
> Would you know of any examples of this on the internet?
not for recording, but there is a embedding demo in the source distribution
of python. and i have made a windows screensaver that exposes some drawing
commands to python, so that the drawing is controlled by a script.
(http://www.geocities.com/chrisliechti/en/python/index.html)
> [...]
>> maybe you want to have a look at some sample COM scripts. the approch
>> is slightly diffrent but its the way msword, excel and may other
>> windows software is scriptable (ms uses vbscript but there are python
>> bindings too (win32com extension modules from active state))
>
> Are there examples of COM-scriptable apps that also support recording?
MS Word creates VBScript that uses COM when recording. i used it to find
out what Python COM commands have to be used.
--
Chris <cliechti at gmx.net>
More information about the Python-list
mailing list