I want to detect if exact process or window uses directx or opengl or maybe something else library used in applications.
Thats becouse there could be many windows with same names and different names and the same with process. I got so much process names I want to my script works with all, so i want standardize.
All of this processes uses DirectX or OpenGL so then If I check this window/process uses these libraries I will be sure thats the right process
I'm trying to kill a malware process, that I can't remove with my www.sophus.com/hom antivirus.
The malware is known as coinminer,config and my Sophus only creates popups of blocking the malware.
I know that the malware is constantly launching a svchost *32.exe processes, where the svchost.exe processes are from my Windows 7 operating system.
I have with no luck tried to do this:
Global $_bStatus = False
While $_bStatus = False
Global $_sActiveTitleNew = "svchost *32.exe"
$_iPid = WinGetProcess($_sActiveTitleNew)
If $_iPid <> -1 Then $_bStatus = ProcessClose($_iPid)
But the $_iPid doesn't ever show anything else than -1, even if I can see the svchost *32.exe process in my TaskManager
YES - I know I shouldn't EXIT after killing the first malware detection, but it is easier to explain the above for you, so I can get a solution.
$OCR_Result = _TesseractScreenCapture(0,"",1,2,220,660,500,730,1)
$OCR_Result1 = _TesseractScreenCapture(0,"",1,2,220,660,500,730,1)
$OCR_Result2 = _TesseractScreenCapture(0,"",1,2,220,660,500,730,1)
$OCR_Result3 = _TesseractScreenCapture(0,"",1,2,220,660,500,730,1)
$sound = _SoundStatus("C:\ExpertAdvisorBuyAlert.wav")
while _nowtime < 3.30 pm
If $sound = True Then
if $OCR_Result1 > $OCR_Result2
Trying to ocr some values on chart in real time(once per minute) and buy/sell securities on basis of alert generated in my software.
I am struck onto few steps.
1. On Tesseract Screen Capture indentation parameters. How can we determine the exact parameters if I just want numeric values only.
2. The Tesseract Screen Capture generates and error Obj1 on line 185 which needs to be resolved.
3. Sometimes lines get overlapped with values. What to do in that case.
3. Detecting the sound as and when it approaches and then comparing the ocr values to decide on either buy or sell.
The values that needs to be fetched are encircled.
I found this function in the Internet
It is to play audio files from the compiled script
I did not understand just one thing on this function
func play($name, $wait = 0) local Const $SND_RESOURCE = 0x00040004 local Const $SND_ASYNC = 1 ; Play the file - the script will pause as it sounds if $wait = 0 then DllCall("winmm.dll", "int", "PlaySound", "str", $name, "hwnd", 0, "int", BitOR($SND_RESOURCE, $SND_ASYNC)) else DllCall("winmm.dll", "int", "PlaySound", "str", $name, "hwnd", 0, "int", $SND_RESOURCE) endIf return 1 endFunc What I did not understand was this variable
local Const $SND_RESOURCE = 0x00040004 I know that this variable is contains the resource name
But what if I want to change the name of the resource what i'll do?
can i do that?
Thanks in advance
in the process of packaging an application (Voip) and looking at trying to automate capturing the following information to add to a config.xml file:
Default: Playback Device Name and Guid
Name: Speakers (Realtek High Definition Audio)
Default Microphone Device Name and Guid
Name: Microphone (Realtek High Definition Audio)
I've seen the following post by @trancexx, which gives me the Default Audit Device Name, but unsure how to get the Guid or the Microphone Name and Guid. I believe to get the Guid, I would need to use PKEY_AudioEndpoint_GUID but unsure how to code this. If anyone can assist or point me in the right direction it would be much appreciated.