How to Make a Macro Work Only in Alfred's Search Box

I want a macro to work only in the input box.

I am currently setting this up, but I have not achieved my goal:


Have you tried changing Alfred's focus mode to Compatible, like so?


Thanks for your help. I tried under your guidance, but it still couldn't work.