Jump to content

AnkurMittal

Members
  • Posts

    2
  • Joined

  • Last visited

AnkurMittal's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. Hi Earthshine, thanks for your quick response, Now i have run my SciTE editor as admin and script is running. Find the code as below for review. #include <MsgBoxConstants.au3> #include <WinAPIProc.au3> #requireadmin Run("resmon") ; AutoItSetOption('MouseCoordMode', 0) Sleep(5000) ; WinWait('Resource Monitor') WinActivate('Resource Monitor') MouseClick($MOUSE_CLICK_PRIMARY, 90, 67, 1, 0) Sleep(2000) ; MouseClick($MOUSE_CLICK_PRIMARY, 93, 214, 1, 0) Send('chrome') Need one more suggestion: as many processes are running and killing, How to select only one 'chrome.exe' so i can do Right Click and get 'Analize Wait Chain' for that process.
  2. Hi All, I am new to AutoIT, i want to run resource monitor(resmon), select the CPU tab and select one given process (notepad.exe) right click and Analize Wait Chain. And finally capture the screen shot of this. Issue: I am able to run the resmon using Run('resmon') but after that I am not able to select CPU tab itself or any other control. My environment is Win 10.
×
×
  • Create New...