If you have some suitable parts and a piece of single sided copper clad matrix board, you could make up a mini keyboard using uninsulated wires crossing close together, then use a coin or a screwdriver to "press the key(s)"...
Or bring the QL keyboard connectors out to two sets of two connectors (SIL 2.54 socket strips or turned pin DIL sockets) so that you can plug a suitable size jumper wire in to simulate one key being pressed while another is pressed.
Boy is this hard to put into words, I'm at work now, so a little hard to post a picture
Mark
PS saying "connect the wires to simulate the pressing of 'F2' " does not "roll off the tongue" (is not as easy to say)


Standby alert

“There are four lights!”
Step up to red alert. Sir, are you absolutely sure? It does mean changing the bulb

Looking forward to summer in Somerset later in the year
QL, Falcon, Atari 520STFM, Atari 1040STE, more PC's than I care to count and an assortment of 8 bit micros (Sinclair and Acorn)(nearly forgot the Psion's)