F13 is a Sizeup keyboard shortcut that actually centers the foremost application.
When hitting F13, the window centers, but when I use alt+tab to activate iTerm, nothing is happening.
Tried with other applications, at iTerm launch, got the same result.
My macro is in the Global Macro Group and enabled.
Adding a pause action before the key action didn't help.
Every time I use CMD-Tab to activate iTerm, it feels like a letter capital p ("P") is typed or pasted on the newly activated iTerm window. It makes iTerm suggest me the pwd command.
If you are speaking of the program-switcher shortcut, did you mean Cmd-Tab, or did you change the shortcut to Option/Alt-Tab?
In the latter case, I propose to disable the macro/script/hack you are using to change the shortcut and use the normal, unmodified Cmd-Tab and see if the βPβ still appears.
I am talking about the built-in Mac OS "Cmd-Tab" (sorry for the typo. Fixed it in my previous post).
With this macro, hitting Cmd-Tab, a capital letter "p" is pasted/typed in the active iTerm window.
With this macro, hitting CMD-TAB , a capital letter "p" is pasted/typed in the active iTerm window.
Plus , "sometimes" (= I do not 100% succeed at reproducing the behaviour every time I try) an iTerm notification is displayed with the message "Session ~/Downloads (zsh) #1just rang a bell". (~/Downloads is my current directory in iTerm).