Jump to content

tonauac

Members
  • Posts

    2
  • Joined

  • Last visited

tonauac's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. 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)
  2. 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.
×
×
  • Create New...