Hallo,
dank des Hinweises von oxse auf IBM habe ich den Code angepasst. Code in einen Button kopieren.
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 17,0,0,0 ' Strg down
keybd_event 68,0,0,0 ' D down
keybd_event 68,0,2,0 ' D up
keybd_event 17,0,2,0 ' Strg up
keybd_event 16,0,0,0 ' shift down
keybd_event 9,0,0,0 ' tab down
keybd_event 9,0,2,0 ' tab up
keybd_event 16,0,2,0 ' shift key up
keybd_event 39,0,0,0 ' RightArrow key down
keybd_event 39,0,2,0 ' RightArrow key up
keybd_event 81,0,0,0 ' Q down
keybd_event 81,0,2,0 ' Q up
keybd_event 13,0,0,0 ' enter key down
keybd_event 13,0,2,0 ' enter key up
End Sub
Getestest mit Notes 8.5.1. auf Win7 und Win XP Prof. Die vollständigen JavaScript Character Codes fand ich bei
www.cambiaresearch.com