![]() ![]() Nonetheless, I don't see how it would be related to the script that you posted if you are not triggering the hotkey. ![]() I still do not understand the "jumping" problem itself- what you are experiencing. That was right after I hit the "Run Script", and before any other key combination. When that happens, I have to wait until it "jumps in" again to continue using my laptop. The problem happens even before I hit any key combination.Ībout what I observe when the script run, in the video I posted in my post, I screen recorded what happens when I run the script, please a look. HProcess := DllCall("OpenProcess", "UInt", 0x400 | 0x10, "Int", FalseĭllCall("Psapi.dll\GetModuleFileNameExW", "UInt", hProcess, "Int", 0 SendInput, ĭllCall("GetWindowThreadProcessId", "UInt", hWnd, "UInt *", PID) WinActivate, ahk_exe calibre-parallel.exe SetWorkingDir %A_ScriptDir% Ensures a consistent starting directory. SendMode Input Recommended for new scripts due to its superior speed and reliability. #Warn Enable warnings to assist with detecting common errors.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |