[python-win32] WinAppDbg 1.4 is out!

2010-08-24 Thread Mario Vilas
What is WinAppDbg? == The WinAppDbg python module allows developers to quickly code instrumentation scripts in Python under a Windows environment. It uses ctypes to wrap many Win32 API calls related to debugging, and provides an object-oriented abstraction layer to manipulate

[python-win32] Client side COM problems with ByRef parameters

2010-08-24 Thread mark ferguson
I'm trying to drive an application via it's COM interface but I am having trouble with ByRef parameters. The method I'm having trouble with, in VB, is: Public Function GetVuserTypeLicenseLimit( ByVal strVuserType As String, ByRef pRetLimit As Long ) As Long translating this into python as: a =

Re: [python-win32] WinAppDbg 1.4 is out!

2010-08-24 Thread Aleksandr Yampolskiy
How is it different from pydbg? Sent from my Blackberry handheld. - Original Message - From: Mario Vilas mvi...@gmail.com To: bugt...@securityfocus.com bugt...@securityfocus.com; full-disclos...@lists.grok.org.uk full-disclos...@lists.grok.org.uk; Python-Win32 List

[python-win32] Detecting when a system has multiple monitors (desktops)

2010-08-24 Thread Tony Cappellini
Does anyone know how to detect if a system has multiple monitors (desktops) through Python? I've written a program which allows the user to open multiple stand-alone windows. When I run this program I usually drag these windows to my secondary monitor. I was to save the screen coordinates of the

Re: [python-win32] Detecting when a system has multiple monitors (desktops)

2010-08-24 Thread Tim Roberts
Tony Cappellini wrote: Does anyone know how to detect if a system has multiple monitors (desktops) through Python? I've written a program which allows the user to open multiple stand-alone windows. When I run this program I usually drag these windows to my secondary monitor. I was to save

Re: [python-win32] Detecting when a system has multiple monitors (desktops)

2010-08-24 Thread reckoner
Tony: All of this is handled in the dragonfly package: http://code.google.com/p/dragonfly/ Note that you do not need speech recognition in order to use it. In particular, look at from dragonfly import Window, monitors and the window.py file in the distribution. Good luck! On

Re: [python-win32] Detecting when a system has multiple monitors (desktops)

2010-08-24 Thread Tony Cappellini
Thanks- but I think Tim's solution is more native and has the added benefit of not requiring any additional software.. I was thinking too much into the problem. However, I will keep your reply for future reference. There may be a time when I need the monitors package. On Tue, Aug 24, 2010 at