[python-win32] time/datetime module wierdness on some windows7/XP PCs

2012-07-26 Thread Ferdinand Sousa
Hi List, Since Raf says that the motherboard was changed in one of the cases, I think it could be an issue with the BIOS clock settings. I have noticed on some OSes that there is a time setting Set Hardware clock to UTC or localtime. This would imply timezone awareness in the BIOS. You might

[python-win32] py2exe issues with script using selenium

2012-07-17 Thread Ferdinand Sousa
Hi List, My environment: Win 7 Professional 64-bit, Python 2.7 64-bit and appropriate 64-bit libraries installed over that. I downloaded the 64-bit py2exe package. Though I did not specifically download the Distutils package, I guess I have it from having installed 3rd party Python libraries.

Re: [python-win32] Take Screenshot when you log in remotely [Win 7 Pro]

2012-07-16 Thread Ferdinand Sousa
log in remotely [Win 7 Pro] Ferdinand Sousa wrote: I have written a script that uses the screenshot() function from the ImageGrab module of the Python Imaging library and I would like to run this script as a scheduled task. Now for the issues. In the task scheduler, if I select 'Run

[python-win32] Take Screenshot when you log in remotely [Win 7 Pro]

2012-07-04 Thread Ferdinand Sousa
Hi List, I use pywin32-217.win-amd64 for Python 2.7 on Windows 7 Professional. I have written a script that uses the screenshot() function from the ImageGrab module of the Python Imaging library and I would like to run this script as a scheduled task. Now for the issues. In the task scheduler,

Re: [python-win32] Installing pywin32 for Python 2.7 AMD64

2012-06-22 Thread Ferdinand Sousa
:20 AM, Ferdinand Sousa wrote: Hi List, First off, it's good to be back after 3 years!! I was dusting off some old scripts I had written using pywin32. (Python 2.5 era I think). It uses the win32con and win32api modules. Now I'm trying to use the same scripts with Python 2.7 AMD64 version

[python-win32] Installing pywin32 for Python 2.7 AMD64

2012-06-15 Thread Ferdinand Sousa
Hi List, First off, it's good to be back after 3 years!! I was dusting off some old scripts I had written using pywin32. (Python 2.5 era I think). It uses the win32con and win32api modules. Now I'm trying to use the same scripts with Python 2.7 AMD64 version. I downloaded

Re: [python-win32] Windows Service, user activity and timed message box

2009-02-01 Thread Ferdinand Sousa
Hi , first of all, thanks to Harald Armin Massa for the timed message box code (attached as text for reference). I'll tweak it to my requirements. Also, my thanks to Tim J Golden for his help. As regards the following: B] How do we check duration since last user activity -- Assuming that the

[python-win32] Windows Service, user activity and timed message box

2009-01-27 Thread Ferdinand Sousa
Greetings: I wanted some help on the following topics: A] How do I set up a script to run as a service? Are there any prerequisites for this? B] How do we check duration since last user activity -- Assuming that the screen is set to turn off/display a screensaver after a certain duration, I

Re: [python-win32] python-win32 Digest, Vol 69, Issue 23

2008-12-16 Thread Ferdinand Sousa
-- Forwarded message -- From: Tim Roberts t...@probo.com To: Python-Win32 List python-win32@python.org Date: Mon, 15 Dec 2008 10:03:17 -0800 Subject: Re: [python-win32] Post Message Ferdinand Sousa wrote: I have written a small script to automate a process. The issue

[python-win32] Post Message

2008-12-15 Thread Ferdinand Sousa
Greetings everyone, My config is: python 2.5.1 pywin32 build 212 Win Xp I have written a small script to automate a process. The issue is that a Save As pops up at the end. Using Winspector, I could come up with this: win32gui.PostMessage(win_hdl,con.WM_COMMAND,1,0) # handle to the Save As

[python-win32] makepy.py usage and COM

2008-08-21 Thread Ferdinand Sousa
Hi I have python 2.5.1, pywin32 build 212 When using the makepy utility I noticed it used to crash out with the following traceback: Traceback (most recent call last): File C:\Python25\Lib\site-packages\win32com\client\makepy.py, line 391, in module rc = main() File

[python-win32] Fwd: Running a python script in the system tray

2008-07-04 Thread Ferdinand Sousa
Hi I just wanted some pointers on how I can run a python script in the system tray. My configuration is: Win Xp Python 2.5.1 Python Imaging Library 1.1.6 pywin 2.1.1 I already have a screen captor (python script) that pastes images from the windows clipboard. Its disadvantage is that for