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)
above link for "DotNetIdentification.au3" is throwing an error that
these constant cannot be renamed
Const $PROCESS_VM_OPERATION = 0x8
Const $PROCESS_VM_READ = 0x10
Const $PROCESS_VM_WRITE = 0x20
Const $PROCESS_ALL_ACCESS = 0xFFFF
and commenting these constant "NET_ControlGetHandleByName( $WindowName, $WindowText, "txtuser" )"
does not return the handle of the window.