[python-win32] Programatically activating secondary monitor?

2009-04-30 Thread Alec Bennett
I'm wondering if there's a way to enable a second monitor in Windows from Python or otherwise programatically? Currently I use the utility UltraMon, which works, but it sure would be nice to be able to do this from Python. ___

Re: [python-win32] Programatically activating secondary monitor?

2009-04-30 Thread Tim Golden
Alec Bennett wrote: I'm wondering if there's a way to enable a second monitor in Windows from Python or otherwise programatically? Currently I use the utility UltraMon, which works, but it sure would be nice to be able to do this from Python. I'm not quite sure I understand what enable a

Re: [python-win32] Programatically activating secondary monitor?

2009-04-30 Thread Alec Bennett
As always, good point, and I'm embarassed to admit its the same point as usual. I'll dig around and post my findings. And fyi, by enable the secondary monitor, I mean enabling the output from a second video card, such as the VGA port in a laptop. The equivalent of going to windows control

Re: [python-win32] Extract icon from exe files

2009-04-30 Thread Nicolas EISEN
Tim Roberts a écrit : EISEN Nicolas wrote: I'm lucky, I found ... My Source : /from win32gui import * import win32con from pywintypes import HANDLE import win32ui listHicon = ExtractIconEx(c:\OpenOffice.exe,0) tupleIcon = GetIconInfo (HANDLE ( listHicon[0][0] ) )

Re: [python-win32] PythonWin IDE: how to assign a function/code to key F1 etc. ?

2009-04-30 Thread Robert
Mark Hammond wrote: Robert wrote: want to put new functions (short python code) on keys like F1, F12, Ctrl-F1 and other keys. Is there a mechanism/recipe ? Look for the *.cfg files in the pythonwin directory. Thanks. maybe some of the following stuff is useful for somebody, or for

[python-win32] gpedit reload method in python

2009-04-30 Thread le dahut
Hello, gpedit.msc can change several parameters in system for example items in start menu or hidden drives in explorer. The changes made in gpedit are immediately applied, if you have My computer opened you can see selected letters disappear. I know that gpedit modifies

Re: [python-win32] Retrieve informations from NIST file.

2009-04-30 Thread Tim Roberts
Khalid Moulfi wrote: thanks for your quick answer. Here is a sample of the first line of the NIST file : 1.001:0002451.002:30001.003:1192041424344454647484941041141241341415151516151715181.004:NPS1.005:200810291.006:41.007:51/Live Scan

Re: [python-win32] Programatically activating secondary monitor?

2009-04-30 Thread Tony Cappellini
Message: 1 Date: Thu, 30 Apr 2009 08:49:58 +0100 From: Tim Golden m...@timgolden.me.uk Subject: Re: [python-win32] Programatically activating secondary monitor? Cc: python-win python-win32@python.org One can enable/disable a mutli-head monitor by right clicking on the desktop and selecting

Re: [python-win32] Extract icon from exe files

2009-04-30 Thread Tim Roberts
Nicolas EISEN wrote: Tim Roberts a écrit : EISEN Nicolas wrote: I'm lucky, I found ... My Source : /from win32gui import * import win32con from pywintypes import HANDLE import win32ui listHicon = ExtractIconEx(c:\OpenOffice.exe,0) tupleIcon = GetIconInfo

Re: [python-win32] gpedit reload method in python

2009-04-30 Thread Tim Golden
le dahut wrote: Hello, gpedit.msc can change several parameters in system for example items in start menu or hidden drives in explorer. The changes made in gpedit are immediately applied, if you have My computer opened you can see selected letters disappear. I know that gpedit modifies

Re: [python-win32] Programatically activating secondary monitor?

2009-04-30 Thread Dahlstrom, Roger
Or if it were something that you were doing while RDP’d in, you could just select the window, hit alt-space, select move, then use the cursor keys to place the app where you want it. Or use restore first if it’s in a maximized state. I’m not sure that this is something that even requires

Re: [python-win32] python-win32 Digest, Vol 73, Issue 32

2009-04-30 Thread Khalid Moulfi
: cfg.patch URL: http://mail.python.org/pipermail/python-win32/attachments/20090430/c26cfe43/attachment-0002.txt -- next part -- An embedded and charset-unspecified text was scrubbed... Name: CtrlEnter.patch URL: http://mail.python.org/pipermail/python-win32/attachments