Re: [python-win32] Power management functions in pywin32?

2012-08-09 Thread Radek Holý
, because calling the function ``PowerGetActiveScheme`` I do not receive the same GUID. -- Radek Holý Czech republic ___ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32

[python-win32] Power management functions in pywin32?

2012-08-07 Thread Radek Holý
reading 0xA1841308 Thank you very much -- Radek Holý Czech republic ___ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32

[python-win32] Constants for scripting short names of WMI privileges

2012-06-27 Thread Radek Holý
in construction of WMI monikers. .. _wmi: http://timgolden.me.uk/python/wmi/ .. [1] See: http://msdn.microsoft.com/en-us/library/aa392758%28VS.85%29.aspx Thank you very much -- Radek Holý Czech republic ___ python-win32 mailing list python-win32@python.org

Re: [python-win32] How to find corresponding WMI/COM object for given Windows Registry key?

2012-06-25 Thread Radek Holý
2012/6/25 Tim Golden m...@timgolden.me.uk: On 23/06/2012 14:03, Radek Holý wrote: I was advised to look at the ``MappingStrings`` qualifier. So far it seems that the only way is to list ``MappingStrings`` qualifiers of all properties. Ahem. That was embarrassing. It appears that I already

Re: [python-win32] How to find corresponding WMI/COM object for given Windows Registry key?

2012-06-23 Thread Radek Holý
2012/6/18 Radek Holý radekholypub...@gmail.com: 2012/6/18 Tim Golden m...@timgolden.me.uk: On 18/06/2012 00:58, Radek Holý wrote: My question is probably poorly formulated. In fact -- as I discovered -- some WMI objects reflect their values in the Windows Registry keys (for example

Re: [python-win32] How to find corresponding WMI/COM object for given Windows Registry key?

2012-06-18 Thread Radek Holý
2012/6/18 Tim Golden m...@timgolden.me.uk: On 18/06/2012 00:58, Radek Holý wrote: My question is probably poorly formulated. In fact -- as I discovered -- some WMI objects reflect their values in the Windows Registry keys (for example there is mapping “root\cimv2

[python-win32] How to find corresponding WMI/COM object for given Windows Registry key?

2012-06-17 Thread Radek Holý
know how to find corresponding WMI/COM object for given Windows Registry key? Is there any useful table of this mapping on the web? Thank you very much -- Radek Holý Czech republic ___ python-win32 mailing list python-win32@python.org http://mail.python.org

Re: [python-win32] How to find corresponding WMI/COM object for given Windows Registry key?

2012-06-17 Thread Radek Holý
2012/6/17 Tim Golden m...@timgolden.me.uk: On 17/06/2012 20:34, Radek Holý wrote: Hello, I'm playing with pywin32 and wmi modules last week. During my experiments I found some attribute/method of some object (COMObject/_wmi_object) or its property which listed the Windows Registry key path

Re: [python-win32] BCD WMI modification via pywin32 without effect

2012-06-16 Thread Radek Holý
2012/6/16 Tim Golden m...@timgolden.me.uk: On 15/06/2012 22:55, Radek Holý wrote: 2012/6/15 Roger Upolerup...@hotmail.com: Looks like the parameters to SetIntegerElement are reversed: objWBM.Methods_('SetIntegerElement').InParameters.Properties_[0].Name 'Integer' objWBM.Methods_

[python-win32] BCD WMI modification via pywin32 without effect

2012-06-15 Thread Radek Holý
if WScript.Echo objElement.Integer I execute both scripts from elevated command line. Can you please help? Thank you -- Radek Holý Czech republic ___ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32

Re: [python-win32] BCD WMI modification via pywin32 without effect

2012-06-15 Thread Radek Holý
that. I feel stupid that I did not come out. :-[ I’m solving it for three days in a row... In the Microsoft’s documentation (and in Visual Basic) it is reversed. Thank you very much for your help! -- Radek Holý Czech republic ___ python-win32 mailing list