Das hier funktioniert auch mit Notes 8.5.3 Standard
Declare Sub keybd_event Lib "user32.dll" (Byval bVk As Integer, Byval bScan As Integer, Byval dwFlags As Integer,Byval dwExtraInfo As Integer)
Sub Click(Source As Button)
keybd_event 18,0,0,0 ' Alt down
keybd_event 115,0,0,0 ' F4 down
keybd_event 115,0,2,0 ' F4 up
keybd_event 18,0,2,0 ' Alt up
keybd_event 13,0,0,0 ' enter up
keybd_event 13,0,2,0 ' enter down
End Sub
