Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <AutoItConstants.au3>
- Local $hTimer = TimerInit()
- Local $pid = Run("adb.exe" & " exec-out screencap -p", Null, @SW_HIDE, $STDOUT_CHILD)
- ProcessWaitClose($pid)
- Local $bOutput = StdoutRead($pid, False, True)
- Local $diff = TimerDiff($hTimer)
- MsgBox(0, "TimeDiff", $diff)
- $file = FileOpen("img.png", 16+2)
- FileWrite($file, $bOutput)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement