Re: [python-win32] PyTime

2007-05-08 Thread Mark Mc Mahon
Hi, Maybe there is a better way then this suggestion... from datetime import datetime date = some PyTime object day = int(xl.activecell.value.Format(%d)) month = int(xl.activecell.value.Format(%m)) year = int(xl.activecell.value.Format(%Y)) date_as_datetime = datetime(year, month, day)

[python-win32] ANN: pywinauto 0.3.7 now released

2007-04-10 Thread Mark Mc Mahon
. * menuwrapper.Menu.GetProperties() now returns a dict like all other GetProperties() methods. This dict for now only has one key 'MenuItems' which contains the list of menuitems (which had been the previous return value). Thanks Mark Mark Mc Mahon Manchester, NH 03110, USA

Re: [python-win32] Microsoft VDS Interface in Python

2007-03-14 Thread Mark Mc Mahon
Hi On 3/6/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, Does python-win32 has API calls to VDS (Virtual Disk Service) Service? If not, how to implement one? I don' t know the answer to this one (and I guess you have searched - so no point in me doing it). For the 2nd I would

Re: [python-win32] Media Wiki

2007-02-23 Thread Mark Mc Mahon
Hi, On 2/23/07, Tim Golden [EMAIL PROTECTED] wrote: + Win32-specifics on various apps / modules, particularly where the authors are more *nix-oriented so special installation steps or even patches are needed. Obviously this could also be fed back to the maintainers. + Common Win32-specific

Re: [python-win32] Media Wiki

2007-02-23 Thread Mark Mc Mahon
Hi James, On 2/23/07, James Matthews [EMAIL PROTECTED] wrote: Thank you Mark and Tim! Which Wiki platform should we use? A religious discussion? I personally love Trac, but I don't know how well it fares as a public site - due to wiki spam (though they are working on that), and we probably

Re: [python-win32] better way to get current process's name

2007-02-22 Thread Mark Mc Mahon
Hi, On 2/22/07, Tim Golden [EMAIL PROTECTED] wrote: Kelie wrote: for every 0.1 second, check the active application or current application, or active window? (I don't know what is the correct term.) if it is AutoCAD (meaning user is using AutoCAD), turn on the CapsLock, if it is

Re: [python-win32] windows text rendering question

2007-01-23 Thread Mark Mc Mahon
code (ctypes even?) I would be interested to see it. -- Tim Roberts, [EMAIL PROTECTED] Providenza Boekelheide, Inc. Mark Mc Mahon ___ Python-win32 mailing list Python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32

[python-win32] ANN: pywinauto 3.6 released

2006-07-31 Thread Mark Mc Mahon
()`` in ``_perform_click_input()`` so that calls to ``HwndWrapper.ClickInput()`` will make sure to click on the correct window. Thanks Mark Mark Mc Mahon Manchester, NH 03110, USA PA HREF=http://sourceforge.net/projects/pywinauto;pywinauto 0.3.6/A Simple

[python-win32] 0.3.5 Moved to Metaclass control wrapping (and some mini fixes)

2006-05-25 Thread Mark Mc Mahon
this project then please sign up to the mailing list: https://lists.sourceforge.net/mailman/listinfo/pywinauto-users Thanks Mark Mark Mc Mahon Manchester, NH 03110, USA PA HREF=http://sourceforge.net/projects/pywinauto;pywinauto 0.3.5/A Simple Windows

Re: [python-win32] Rewriting my previous question....

2006-05-22 Thread Mark Mc Mahon
Hi JP, On 5/20/06, João Paulo Fernandes Farias [EMAIL PROTECTED] wrote: Hi! I'll rewrite my previous question... How do I get data from another process using win32gui.SendMessage() when it needs some pointers to fill in the data? I know it is more likely possible cause winspector can show

Re: [python-win32] Control IE with COM: how to get at drop down menus?

2006-05-18 Thread Mark Mc Mahon
Hi Jamil, I have a couple of suggestions... You could look at my package pywinauto, but that is probably overkill for your problem - and it doesn't deal nicely with IE menu's (as they do not expose their text easily). I would suggest that you look at SendKeys (google for SendKeys/Python). That

[python-win32] ANN: pywinauto 0.3.4 released - Fixed issue with latest ctypes, speed gains, other changes

2006-04-25 Thread Mark Mc Mahon
Hi, 0.3.4 release of pywinauto is now available. pywinauto is a set of open-source (LGPL) modules for using Python as a GUI automation 'driver' for Windows NT based Operating Systems (NT/W2K/XP). SourceForge project page: http://sourceforge.net/projects/pywinauto Download from SourceForge

[python-win32] ANN: pywinauto 0.3.3 released - bug fixes, added methods, removed deprecated methods

2006-04-19 Thread Mark Mc Mahon
Hi, 0.3.3 release of pywinauto is now available. pywinauto is a set of open-source (LGPL) modules for using Python as a GUI automation 'driver' for Windows NT based Operating Systems (NT/W2K/XP). SourceForge project page: http://sourceforge.net/projects/pywinauto Download from SourceForge

[python-win32] ANN: pywinauto 0.3.1 released - performance tuneup

2006-03-30 Thread Mark Mc Mahon
Hi, The 0.3.1 release of pywinauto is now available. pywinauto is a set of open-source (LGPL) modules for using Python as a GUI automation 'driver' for Windows NT based Operating Systems (NT/W2K/XP). SourceForge project page: http://sourceforge.net/projects/pywinauto Download from SourceForge

[python-win32] ANN: pywinauto 0.3.2 released - fixed broken setup.py

2006-03-30 Thread Mark Mc Mahon
but not for installing it (again thanks to Stefaan for pointing it out!) Tested setup.py for installing as well as source distribution creation - and it worked. Thanks Mark -- Forwarded message -- From: Mark Mc Mahon [EMAIL PROTECTED] Date: Mar 30, 2006 2:02 PM Subject: ANN: pywinauto 0.3.1

Re: [python-win32] Distributing a Python app using MSI

2006-03-28 Thread Mark Mc Mahon
install script? (note I am not an expert in distutils - so maybe it doesn't do what you need!) Anyway - some ideas for you :-) Mark On 3/28/06, Emlyn Jones [EMAIL PROTECTED] wrote: On 3/28/06, Mark Mc Mahon [EMAIL PROTECTED] wrote: Hi Emlyn, On 3/28/06, Emlyn Jones [EMAIL PROTECTED] wrote

[python-win32] ANN: pywinauto 0.3.0 released - now localization proof

2006-03-20 Thread Mark Mc Mahon
Hi, The 0.3.0 release of pywinauto is now available. pywinauto is a set of open-source (LGPL) modules for using Python as a GUI automation 'driver' for Windows NT based Operating Systems (NT/W2K/XP). SourceForge project page: http://sourceforge.net/projects/pywinauto Download from SourceForge

Re: [python-win32] MS Access and Python

2006-02-17 Thread Mark Mc Mahon
Hi Math, On 2/17/06, Math [EMAIL PROTECTED] wrote: Hello, I don't know if I ask at the right place. But..I use Python, win32com.client and ADO together with MS Access. What I don't know, what do I need when I wanna distribute my Python-program? What does the enduser need, how do I check it

Re: [python-win32] pywinauto 0.1.1

2006-01-14 Thread Mark Mc Mahon
On 1/14/06, Jeff Bauer [EMAIL PROTECTED] wrote: from win32com.client import Dispatch AutoIt = Dispatch(AutoItX3.Control) ... AutoIt.WinActivate(title) AutoIt.WinWaitActive(title) AutoIt.Send(keystroke) ... AutoIt.ClipPut() AutoIt.Send({ALTDOWN}EL{ALTUP}) # Edit - Copy All text =