You wont be able to click on the gear because there are so many of them.
Assuming the mouse was hovered over the action (in a neutral location like the title), and either it was not selected or it was the only thing selected, then this sequence would work:
- Control Click at 0,0 relative to the current mouse location
- Pause
- Insert Text by Typing “Set Col”
- Type a Keystroke: Right Arrow
- Insert Text by Typing “Red”
- Type a Keystroke: Return