[python-win32] SafeTerminateProcess and request for CreateRemoteThread()

2006-06-22 Thread Stefan Rank
Hi, I spent some time finding a safe way to kill/terminate a process on Windows. Attached is my current version, modelled after a DDJ article. It should work for gui and console applications, has lots of unnecessary print output, uses ctypes for a call to CreateRemoteThread, and bypasses (I

Re: [python-win32] dualview/extended desktop settings with win32api

2006-05-11 Thread Stefan Rank
on 04.05.2006 15:56 Stefan Rank said the following: > on 04.05.2006 12:17 Roger Upole said the following: >> Stefan Rank wrote: >>> AFAICT I need the GDI function `ChangeDisplaySettingsEx` and >>> `EnumDisplayDevices` and some others. >> These functions can

Re: [python-win32] dualview/extended desktop settings with win32api

2006-05-04 Thread Stefan Rank
on 04.05.2006 12:17 Roger Upole said the following: > Stefan Rank wrote: >> Hi, >> >> I am trying to write scripts for changing the "extended desktop" >> settings in windows. >> More specifically: I'd like to have a script for toggling between

[python-win32] dualview/extended desktop settings with win32api

2006-05-03 Thread Stefan Rank
Hi, I am trying to write scripts for changing the "extended desktop" settings in windows. More specifically: I'd like to have a script for toggling between "laptop-screen-only" and "extended-desktop-with-the-secondary-monitor-bottom-right-and- please-don't-forget-the-arrangement-every-time-I-op