Search the Community
Showing results for tags 'halt'.
I'm trying to have my program stop outlook and another instant messaging program while it is in a certain mode. This is because people will be scanning barcodes in another room, but instead of having to close out of the programs, I was hoping to have autoit freeze or pause other programs while it is in scanning mode. I found this chunk of code which makes me feel like I am close, but not close enough to what I want to do. #Include <WinAPI.au3> $process = _WinAPI_OpenProcess("PROCESS_SUSPEND_RESUME", 1, "outlook.exe") DllCall("ntdll.dll", "Int", "NtSuspendProcess", "Int", $process) sle