Jump to content

anit

Members
  • Posts

    3
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

anit's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. Hi, I am trying to select a value from a drop-down (highlighted in the attached image). There is no control ID associated with the window, so I am unable to use the Control* type functions. There are two values starting with 'C' in the drop-down. I tried fetching the drop-down value by passing Send("{custom}") but it always selects the first occurrence of value starting with 'C'. Please suggest how may I resolve this. Thanks!
  2. @careca Thanks! I tried your code snippet and it serves the purpose! by the way, what does Send( "! es{Enter}" ) do?
  3. Hi, I am trying to read the console output of an "active" command prompt window. The following code that I tested with, causes the cmd window to close at the very same time when it is run. I want the command prompt window to stay open and be able to read the output of the cmd window. Please tell me how to achieve this. $pid=Run("cmd.exe", "", @SW_SHOWMAXIMIZED, $STDIN_CHILD) Sleep(2000) $data = StdoutRead($pid) ConsoleWrite("Debug:" & $data & @LF) Thanks, Anit
×
×
  • Create New...