Jump to content



Photo

extract text from a wpf window


  • Please log in to reply
No replies to this topic

#1 tonauac

tonauac

    Seeker

  • New Members
  • 2 posts

Posted 28 August 2010 - 08:41 AM

hey how can I extract text from a WPF window
this is what I am doing
include <DotNetIdentification.au3> Run("F:\Shashank\shashank\DEbug 09\Debug\RibbonDemo.exe") $WindowName = "Login Version" $WindowText = "" $var1 = NET_ControlGetHandleByName( $WindowName,$WindowText,"txtUser") MsgBox("64","ControlGetHandle",$var1) $var2=ControlGetText("Login Version","user",$var1) MsgBox("64","ControlGetText",$var2)









0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users