: : Hi,
: : I need to make Python control Aspen Plus 2004, but it doesn't have any type of COM controls. Does anyone know a way to control the program?
:
: I guess it depends on what you mean by "control". If you want to automate the pushing of buttons and entering of text, stuff like that, then you could try pywinauto:
http://www.openqa.org/pywinauto/
:
: I've only tinkered with it myself, and not recently, so I don't know if it is as powerful as you might need.
:
: If Aspen Plus provides an API via regular (non-COM) DLLs, then you could look up the ctypes module for Python which might be useful.
:
: If none of these work then maybe try asking on comp.lang.python
:
I got that to open the program, thanks, but now I can't make it use any of the menus because there is a dialog box that opens when the program opens that asks you to load a file or start a new project. Is there a way to make Python close the dialog box or open a file from that box?
:
:
infidel
:
:
: $ select * from users where clue > 0
: no rows returned
:
:
: