Re: [python-win32] How to Tell Windows that a file Changed

2007-03-16 Thread Gregory Piñero
On 3/16/07, Gregory Piñero [EMAIL PROTECTED] wrote: Thanks for the advice Tim. I'm looking at the docs now. I'll send an update on my progress. Ok, turns out it was easier just to have Omnipage running before I moved the file, then it sees it. But I'm sure I'll need this approach one day

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

2006-08-02 Thread Gregory Piñero
I documented this code and added some background info here: http://www.answermysearches.com/index.php/why-killing-processes-may-be-hurting-you-and-what-to-do-about-it/154/ On 8/2/06, Gregory Piñero [EMAIL PROTECTED] wrote: On 8/2/06, Tim Roberts [EMAIL PROTECTED] wrote: This code

[python-win32] Cleanly Close System Tray Process

2006-08-01 Thread Gregory Piñero
, win32con.WM_CLOSE, 0, 0) ? FYI so far I've been closing it with kill process but the problem is that it leaves the icon in the system tray and after a few days of opening and closing this thing I have 1000's of icons left over in the system tray. Much thanks! -- Gregory Piñero Chief Innovation

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

2006-08-01 Thread Gregory Piñero
Ok I figured out how to do it: Here's the code I made mostly from copying the examples. If anyone could tell me how the code works, that would still be appriciated, for example why/how do I need this function _MyCallback? -Greg My code: import sys import win32process, win32api, win32pdhutil,

Re: [python-win32] How to catch a COM error

2006-01-10 Thread Gregory Piñero
Just wanted to check if this made it to you guys? Not because I'm impatient, just that some of my emails haven't been making to the list lately. -Greg On 1/10/06, Gregory Piñero [EMAIL PROTECTED] wrote: Hi guys, This is a silly question but how do I capture a com_error from another module

[python-win32] win32com.client - How to raise an exception after timeout

2005-12-27 Thread Gregory Piñero
/Python/Recipe/307871) using the signal module but that doens't help me here. Any help is greatly appriciated. -- Gregory Piñero Chief Innovation Officer Blended Technologies (www.blendedtechnologies.com) ___ Python-win32 mailing list Python-win32@python.org

Re: [python-win32] PythonWin Not starting - Windows Server 2003 OS

2005-11-22 Thread Gregory Piñero
Yeah, I know this is a pretty vague question. I'm willing to try to debug it myself. Could anyone point me towards where to start? Is there a error log file somewhere or any known issues with Windows Server 2003? Thanks, Greg On 11/21/05, Gregory Piñero [EMAIL PROTECTED] wrote: Hi, I just

[python-win32] PythonWin - Start in script's directory

2005-11-22 Thread Gregory Piñero
I'm not sure how to phrase this question. How can I make PythonWin have it's current directory automatically set to the same directory as my script? For example I want the statement: file('test.txt','w') to make a file in the same directory as my script, instead of wherever PythonWin wants to

Re: [python-win32] PythonWin - Start in script's directory

2005-11-22 Thread Gregory Piñero
And then is there a way to make Pythonwin run that automatically or do I have to add that to my script: os.chdir(os.path.dirname(os.path.abspath(sys.argv[0]))) -Greg On 11/22/05, Gabriel Genellina [EMAIL PROTECTED] wrote: At Tuesday 22/11/2005 14:22, Gregory Piñero wrote:I'm not sure how to phrase

[python-win32] mapisend.py - How does it work?

2005-11-15 Thread Gregory Piñero
Would anyone be kind enough to explain a bit about how this Python24\Lib\site-packages\win32comext\mapi\demos\mapisend.py demo program works? Specifically I was wondering: Does it require that I have outlook installed? Does it require that there is an exchange server somewhere? What is the role

[python-win32] Pythonwin - Word automation - Removing watermark not working

2005-11-05 Thread Gregory Piñero
Hi everybody. I originally sent this question to the main Python list to have it be met with roaring silence ;-) Someone there suggested I try this group instead. Any help or suggestions would be greatly appriciated. Thanks, -Greg -- Forwarded message --From: Gregory Piñero

Re: [python-win32] Pythonwin - Word automation - Removing watermark not working

2005-11-05 Thread Gregory Piñero
Thanks, John. I'll try your ideas on Tuesday and see what happens. They sound promising. If I'm still having problems I'll try sending a sample word file like you said. -Greg On 11/5/05, John Machin [EMAIL PROTECTED] wrote: Gregory Piñero wrote: See below: On 11/5/05, *John Machin* [EMAIL