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 = 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) PyTime is starting

Re: [python-win32] Registering an excel addin

2007-04-13 Thread Mark Mc Mahon
Hi, The problem may be the following... "C:\Program Files\TestApp\Program\EXLXL32.XLL" != r"C:\Program Files\TestApp\Program\EXLXL32.XLL" Otherwise I have no idea about XLL files :-) Mark On 4/13/07, mjohnson <[EMAIL PROTECTED]> wrote: > Apologies if this is in an incorrect format, but I have j

[python-win32] ANN: pywinauto 0.3.7 now released

2007-04-10 Thread Mark Mc Mahon
e wheel movements to be made. * 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 --------

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 w

Re: [python-win32] Wiki

2007-03-06 Thread Mark Mc Mahon
Hi, I just created an account, logged in, and I couldn't figure out how to modify a page. I added the topics that Tim and I mentioned from the earlier thread to the "Discussion" page. Mark ___ Python-win32 mailing list Python-win32@python.org http://ma

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 proba

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-

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 i

Re: [python-win32] windows text rendering question

2007-01-23 Thread Mark Mc Mahon
s on this method - if anybody has working 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

Re: [python-win32] Cleanly Close System Tray Process

2006-08-01 Thread Mark Mc Mahon
Hi, On 8/1/06, Gregory Piñero <[EMAIL PROTECTED]> wrote: > Hi guys, > > I've got this little yellow icon sitting in my system tray: > http://i7.tinypic.com/21n08ig.png > > I'd like to use the windows API to somehow ask it to shutdown? If a > system tray icon counts as a window then perhaps I coul

[python-win32] ANN: pywinauto 3.6 released

2006-07-31 Thread Mark Mc Mahon
SetFocus()`` 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 http://sourceforge.net/projects/pywinauto";>pywinauto 0

Re: [python-win32] get new mails from thunderbird

2006-07-17 Thread Mark Mc Mahon
Hi, Maybe the following would help...? http://aspn.activestate.com/ASPN/Mail/Message/python-list/2673166 Mark On 7/17/06, rakesh surana <[EMAIL PROTECTED]> wrote: > > Hello !!! > > I am trying to get new mails form thunderbird. > which stores the mail in mbox format. > > Is any way to identify n

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

2006-05-25 Thread Mark Mc Mahon
to follow 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 http://sourceforge.net/projects/pywinauto";>pywinauto 0.3.5

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

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 http:

[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 http:

Re: [python-win32] System wide text selection

2006-04-18 Thread Mark Mc Mahon
Hi, You might want to look into pyHook (google for it - I don't have a link right now). Another option that might be much easier is to setup a global hotkey, where the user selects the word, and clicks the hotkey (and you pop up a window at that point with the translation(s). You could probably

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

2006-03-30 Thread Mark Mc Mahon
t 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: pywi

[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 h

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

2006-03-28 Thread Mark Mc Mahon
ustom 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, > >

[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 h

[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 h

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 ch

Re: [python-win32] pywinauto 0.1.1

2006-01-16 Thread Mark Mc Mahon
On 1/14/06, Jeff Bauer <[EMAIL PROTECTED]> wrote: > Mark McMahon has released a new package based on > ctypes, a gui driver for NT/W2K/XP systems: > >http://tinyurl.com/dpgq3 > Hi Jeff, Thanks for passing on the information :-) > I'm presently doing something similar by making python > calls

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 ->