Re: [IronPython] IronPython and C# not giving the same result

2010-06-17 Thread yngipy hernan
translated the ControlType (1st word; 2nd = > name) to english. > > The output ist created from the tool UISpy, witch shows all > AutomationElements from all application curently running as child beneath > the 'desktop' window. > > UISpy come from MS and can be downloaded

Re: [IronPython] IronPython and C# not giving the same result

2010-06-17 Thread Stanger, Wolfram
ication curently running as child beneath the 'desktop' window. UISpy come from MS and can be downloaded free. Greetings Wolfram Von: users-boun...@lists.ironpython.com [mailto:users-boun...@lists.ironpython.com] Im Auftrag von Lukas Cenovsky G

Re: [IronPython] IronPython and C# not giving the same result

2010-06-17 Thread Lukas Cenovsky
I tried your IronPython script and it found one child element which name is ''. Change the print line to: print 'Name:', ae.Current.Name -- -- Lukás( yngipy hernan wrote: Hi, All root elements are ok. Thus say, i can see all (?) of the root elements. But not when trying to iterate child

Re: [IronPython] IronPython and C# not giving the same result

2010-06-16 Thread yngipy hernan
Hi, All root elements are ok. Thus say, i can see all (?) of the root elements. But not when trying to iterate child elements of the Notepad automation element. My Info: W7 32 bit (UAC disabled) .Net 4.0 On Wed, Jun 16, 2010 at 10:08 AM, Lepisto, Stephen P < stephen.p.lepi...@intel.com> wrote:

Re: [IronPython] IronPython and C# not giving the same result

2010-06-16 Thread Lepisto, Stephen P
I was able to successfully run that python code under both IronPython 2.0.3 and IronPython 2.6.1 and it produced a list of all top-level applications. I modified the one line if rae.Current.Name == 'Untitled - Notepad': to be if not rae.Current.Name == '': just to see what was actually being