Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 03/11/2018 in all areas

  1. Jon

    AutoIt v3.3.14.4 Released

    AutoIt v3.3.14.4 has been released. Thanks to everyone involved, both visible and behind the scenes. Download it here. Complete list of changes: History
    2 points
  2. I have found this works 100% of the time. It should work in theory for any program. DIM $sLocation = 'taskmgr'; DIM $sCmmd = 'cmd' Send("#r");Select the shortcut for Run Windows WinWaitActive("Run"); Wait till run window is active ControlSetText("Run", "", "[CLASS:Edit; INSTANCE:1]",$sLocation); ControlClick("Run","","[TEXT:OK]","primary");Select Ok WinWaitActive("Task Manager"); Send("!f");Select File Send("n");Select new task WinWaitActive("Create new task"); Send( $sCmmd) AutoItSetOption ( "SendKeyDelay",5); AutoItSetOption ( "SendKeyDownDelay",5); Send( '{TAB}') AutoItSetOption ( "SendKeyDelay",5); AutoItSetOption ( "SendKeyDownDelay",5); Send( '{SPACE}') AutoItSetOption ( "SendKeyDelay",0); AutoItSetOption ( "SendKeyDownDelay",0); ControlClick("Create new task","","[TEXT:OK]","primary");Select Ok WinClose("Task Manager"); WinWaitActive("Administrator");
    1 point
×
×
  • Create New...