Re: [python-win32] Trouble With Events in Inventor

2012-06-25 Thread Roger Upole
If you're running the script from python.exe, you'll need to run a message loop (pythoncom.PumpMessages()) to receive events. You don't need that in Pythonwin since it runs its own message loop. Also, are you sure the event class should be attached to the button itself ? I'm not familiar with thi

Re: [python-win32] Python implementations on Windows 8rt

2012-06-25 Thread Tim Roberts
Chris Lambacher wrote: > > Metro apps can be written in so called managed (i.e. .net code)... so > theoretically IronPython would be embeddable in an app targeting Metro > and could be made to run on Windows RT (the O.S. Formerly know as > Windows on ARM). The fact that there is so much confusion

[python-win32] Trouble With Events in Inventor

2012-06-25 Thread Ryan Hanson
Hi everyone. I am trying to write a small addin for Autodesk Inventor using COM but I am having trouble getting events to work with my script. I can type my code out in PythonWin and everything works as expected but when I save it out to .py file it just runs though and exits. The same thing seems

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 : > 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 knew about the

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

2012-06-25 Thread Tim Golden
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 knew about the MappingStrings qualifier, beca