![]() ![]() I've tried setting the AHK compiled exe to Run As Administrator, but that didn't help. ![]() I'm passing the variable "path" from Lua to the AHK script (%1%). Os.execute("\""."C:/Users/JWesley/Files/AS/Anime Studio Pro/scripts/utility/ReopenAS64.exe"."\""." ".path) Os.execute("C:/Users/JWesley/Desktop/AutoHotkey/AutoHotkeyU64.exe "."\""."C:/Users/JWesley/Files/AS/Anime Studio Pro/scripts/utility/ReopenAS.ahk"."\""." ".path) ![]() WinGet, PID, PID, Anime Studio ahk_class LM_WndĪnd here's how I'm running it, from a Lua script (double-quotes are for spaces in actual paths): -to uncompiled AHK (working code) Here's the AHK script: SetTitleMatchMode, 2 I have written a AutoHotkey script that works well uncompiled, but no matter which Base File (.bin) I use to compile the exe in Ahk2Exe, it fails for some unknown reason. ![]()
0 Comments
Leave a Reply. |