What you should also consider is what happens if you run your application on a mobile device. How do you press Control-F on a Mobile Device?
To future proof your code, you would look to replace ON KEY, COMMAND KEY etc with an ON ACTION statement e.g.
ON ACTION control_f
and then you can reference the action, either in the .per like you were originally trying
ACTION control_f (TEXT="Text", COMMENT="CTRL-F - Comment", ACCELERATOR=control-f, DEFAULTVIEW=NO)
or globally in a .4ad like Seb suggested
<ActionDefault name="control_f" text="my text" contextMenu="no" defaultView="no"/>
If you wanted no buttons and action only triggerable by pressing Control-F then you would leave defaultView = no, but if you wanted somewhere for the user to press to trigger the action then you would change defaultView to auto or yes. (no compilation required if changing .4ad)
Early adopters of Genero in the early-mid 2000s tended to be more aggressive with their code transformations and were quite prepared to search and replace the likes of ON KEY, COMMAND KEY etc with ON ACTION and have benefitted as a result.
Reuben