Re: [python-win32] Initial setup and COM debugging issues.

2018-12-19 Thread mc@mclaveau
Hi! During the installation of python, did you check well to add Python in the PATH? This option is at the very bottom of the frame, and not very visible. @-salutations -- Le 18/12/2018 à 20:58, Boylan, Ross a écrit : pywin32 is installed just for me, but python itself is installed for all

Re: [python-win32] Question about Python script

2017-10-07 Thread mc@mclaveau
Le 06/10/2017 à 12:51, Schoeni, Yann a écrit : Hello, I’ve recently start to work with Python. I’m developing a managment software for a swimming pool, this software needs to print stuff directly from the website. I’m using Ajax request and shell exec to call a Python script which launch t

Re: [python-win32] Registering COM servers doesn't work out of the box any more

2017-07-27 Thread mc@mclaveau
Hi! When you had installed Python, had you choose "Add to path" (at end of list of install's options)? (sorry for my bad english) @-salutations -- install's Le 27/07/2017 à 01:31, Greg Ewing a écrit : I recently tried to install a COM server written in Python and ran into a small problem.

Re: [python-win32] Replace all child permissions

2017-03-20 Thread mc
Le 20.03.17 à 16:13, Goku Balu a écrit : Hi all, Is there anyway to do "Replace all child object permissions with inheritable permissions from this object" programatically using PyWin32. I found out that this resets the permissions for all the sub-folders and files deep-down even though the p

Re: [python-win32] [ANN] pywin32 build 220 released.

2016-01-12 Thread mc
Le 12.01.16 00:41, Mark Hammond a écrit : Hi all, I'm happy to announce the release of pywin32 build 220. _ _ __ |_ _|| |____ _ _ __ | | ___ _ ___ _ _| | | | | '_ \ / _` || '_ \ | |/ / | | | | / _ \ | | | |

Re: [python-win32] python-win32 is for Python on Windows

2015-12-27 Thread mc
Hi! Is "PyWin32" a possible name? @-salutations -- Michel Claveau Le 26.12.15 19:01, eryk sun a écrit : On Sat, Dec 26, 2015 at 10:44 AM, Vernon D. Cole wrote: 1) this (Python-win32) is not a group for the discussion of Python (in general) on Windows platforms. It is for discussion of a s

Re: [python-win32] Win32com Error any suggestions?

2015-04-16 Thread mc@mclaveau
Hi! > Carl Evans wrote: I am running 32bit Python 2.7 on 64bit excel Warning! 64 bits Excel have not the same CLSID than 32 bits Excel. If it run in tests/dev. with 32 bits Excel, try to install a 32 bits Office on the production computer. MS himself advises to prefer the 32-bit version. @-

Re: [python-win32] Error R6034 when I import uuid

2014-10-19 Thread mc@mclaveau
Hi! I test with my own Python-COM-server (Ponx), and I have also an error: - Microsoft Visual C++ Runtime Library --- Runtime Error! Program: D:\Dev\Python\PonxTest101.exe R6034 An applicat

[python-win32] Win7 + P27 ; very tiny thingy

2014-10-08 Thread mc@mclaveau
Hi! Not really a problem, instead a (very tiny) thingy. Under Windows (7/64), and working-DIR "C:\mescripts", with this very big script (named "test.py"): import os,os.path temp=os.path.dirname(__file__) How I launch, and result: C:\python27\python.exe C:\mescripts\test.py

Re: [python-win32] has the COM interface capability changed since 1999

2014-05-13 Thread mc@mclaveau
Hi! Warning! The APIs (almost-COM a not COM) of Dragon NaturallySpeaking change (very) often, depending of version of software. A software who run OK with version 11 don't run with version 12. And more... ??? @-salutations -- Michel Claveau ___ py

Re: [python-win32] [ANN] pywin32 build 219 released

2014-05-04 Thread mc@mclaveau
Merci beaucoup, Mark, Roger, Vernon ... et Cie. Thank you very much, Mark, Roger, Vernon ... & Cie. @-salutations -- Michel Claveau Le 04.05.14 07:39, Mark Hammond a écrit : Hi all, I'm happy to announce the release of pywin32 build 219. This release has addressed a number of bugs with pr

Re: [python-win32] Could not load excelAddin demos

2014-04-13 Thread mc@mclaveau
Bonjour ! Il s'agit d'un problème avec les paramètres de sécurité d'Office et de Windows 8(.1) Vérifier aussi si la mise en place de l'add-in n'aurait pas été faite "en tant qu'Administrateur" et utilisé avec un compte autre. @-salutations -- Michel Claveau Le 13.04.14 18:48, Pierre Mallard

Re: [python-win32] My bzPersonalAssistant code/project

2014-03-21 Thread mc@mclaveau
Slt! Hmmm... I have downloaded the source-file. I try it, and... I found that wxPython is necessary. But, perso, I use my own GUI (based on PyWin32). I will try the exe version in a virtual computer, when I will found times. @+ -- MCi Le 22.03.14 00:03, Jacob Kruger a écrit : If of intere

Re: [python-win32] Bringing an external initiated/called window to foreground/focus?

2014-03-19 Thread mc@mclaveau
Hi! Below, a little code for set to foreground windows who have two sub-string in their title. @-salutations & sorry for my bad english. -- Michel Claveau # -*- coding: utf-8 -*- import win32gui def win_premierplan_h(h

Re: [python-win32] Printing PDFs without external tools

2014-03-03 Thread mc@mclaveau
Hi! PDF files are text files. If you use the "print" command, you will print the source of PDF. If you want another aspect, you need a render (Adobe-reader, Sumatra-PDF, etc.) I suggest Sumatra-PDF : http://blog.kowalczyk.info/software/sumatrapdf/manual-fr.html (search for "*-print-to-default*

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