That was fast. Great work. Just for purposes of understanding what's going on, could you modify the first script so {enter} is sent not by ControlSend but by Send? I might not have the syntax quite right but it would look something like this:

Code:
WinGet, polid1, ID, Zuvio

#IfWinActive, Zuvio

F1::
ControlSend,,/p hi, ahk_id %polid1%
Send {enter}
return