I have AutoHotKey script.
Currently my AHK script is running all the time. and it waits for user inputs.
if user presses 11 then do something.
if user presses 12 then do something else.
current AHK script
1::
Input Key, L1
if Key=1
{
Run C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -File C:\Users\username\Desktop\new.ps1
; How can I make this command run only after above script has finished executing?
}