Search found 6 matches

by peameedo112
01 Apr 2022, 04:40
Forum: Scripts and Functions (v1)
Topic: RunCMD() v0.97 : Capture stdout to variable. Non-blocking version. Pre-process/omit individual lines.
Replies: 249
Views: 88692

Re: RunCMD() v0.94 : Capture stdout to variable. Non-blocking version. Pre-process/omit individual lines.

I found the method for reading bytearray of png from ADB, but it reads very slowly... While (A_Args.RunCMD.PID + DllCall("Sleep", "Int", 1)) and DllCall("PeekNamedPipe", "Ptr",hPipeR, "Ptr",0, "Int",0, "Ptr",0, "Ptr",0, "Ptr",0) { While A_Args.RunCMD.PID { Line := File.ReadUChar() HEX := Format("{:0...
by peameedo112
10 Nov 2021, 04:53
Forum: Scripts and Functions (v1)
Topic: OpenCV COM
Replies: 51
Views: 13549

Re: OpenCV COM

yes, script works fine if it not run as admin. Code here: RunAsAdmin() hOpencv := DllCall("LoadLibrary", "str", "opencv_world454.dll", "ptr") hOpencvCom := DllCall("LoadLibrary", "str", "autoit_opencv_com454.dll", "ptr") DllCall("autoit_opencv_com454.dll\DllAtlSetPerUserRegistration", "int", 1, "cde...
by peameedo112
09 Nov 2021, 08:37
Forum: Scripts and Functions (v1)
Topic: OpenCV COM
Replies: 51
Views: 13549

Re: OpenCV COM

Hello, if script is running as admin, it will throw error 0x800401F3 invalid class string --> cv:=ComobjCreate("OpenCV.cv").
Any help?
by peameedo112
03 Jun 2021, 01:57
Forum: Scripts and Functions (v1)
Topic: RunCMD() v0.97 : Capture stdout to variable. Non-blocking version. Pre-process/omit individual lines.
Replies: 249
Views: 88692

Re: RunCMD() v0.94 : Capture stdout to variable. Non-blocking version. Pre-process/omit individual lines.

Hi Im tring to use this function to return some adb messages, but ahk will be no respond/crushed while the service adb.exe not exist. Heres the code: devices := RunCMD("adb devices") To solve this problem, I have to get another way: Process, Exist, adb.exe if !ErrorLevel RunWait, %comSpec% /c adb de...
by peameedo112
12 Feb 2020, 19:35
Forum: Scripts and Functions (v1)
Topic: FindText - Capture screen image into text and then find it Topic is solved
Replies: 1087
Views: 571499

Re: FindText - Capture screen image into text and then find it Topic is solved

Hello,
Does it possible to find text from hBitmap directly?

thanks!

Go to advanced search