I use Voice Attack for various commands and Command Macros such as Request Docking, as long as the Station or Platform is your current Target,
the VA command opens the relevant panel and does all the necessary to request docking, it then closes the panels in the correct order (so other macros work correctly) and starts playing my docking music.
.
I don't use Docking computers as they are a lot slower than me manually flying and when they first came in, were more likely to crash you into the wall.
.
.
Voice Attack Profile attached, it obviously uses my Key Bindings, so you will need to change as required.