Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 09/29/2021 in all areas

  1. Hello. It needs a string as option parameter. Opt('SendKeyDelay',80) Opt('SendKeyDownDelay',20) Saludos
    2 points
  2. Run("C:\Program.exe","", @SW_SHOWNORMAL) sleep(5000) Send("{ENTER}") its workingggggggggg!!!!! thanks thanks thanks now you solve me how i send to manage-bde -changepassword 😄 its not working . its not send password and enter
    1 point
  3. *massive facepalm* Thank you soo much, dear Sir/Madam!
    1 point
  4. $exist = 0 $oWMI = ObjGet("winmgmts:\\" & @ComputerName & "\root\CIMV2") $oProcesses = $oWMI.ExecQuery("SELECT * FROM Win32_Process", "WQL", 0x30) For $oProcess In $oProcesses If ($oProcess.Name = "Notepad.exe" And StringInStr($oProcess.CommandLine, "C:\test.txt")) Then $exist = 1 Next MsgBox(64+262144, Default, "Process " & ($exist?"already":"not") & " running.",0)
    1 point
  5. Originally pilfered from gafrost, modified slightly by me. $dir = _GetPIDPath('your.exe') MsgBox(0, '', $dir) Func _GetPIDPath($exe) $pid = ProcessExists($exe) $objWMIService = ObjGet('winmgmts:\\localhost\root\CIMV2') $colItems = $objWMIService.ExecQuery ('SELECT * FROM Win32_Process WHERE ProcessId = ' & $pid, 'WQL', 0x10 + 0x20) For $objItem In $colItems If $objItem.ExecutablePath Then Return $objItem.ExecutablePath Next EndFunc edit - because I edit everything at least once.
    1 point
×
×
  • Create New...