The Best Antivirus For Windows 10

I would do it the other way around. Have the shortcut key be your activation for PAD. When it gets the shortcut key command, then it checks, If window is in focus, do something, else, go (back) to Label (WaitingForShortcutKey).