Try and use Auto Keybot, that is what I have used. The trial version is enough. When starting the program and adding new keys/strings make sure you select the correct process first, which obviously is Andromeda, then delete all the predefined keys.
Now the script I use is this one:
Line 1: Key: Space, Repeat: 1, Timer: 1000
Line 2: Key: Space, Repeat: 1, Timer: 4000
Line 1: Key: ESC, Repeat: 1, Timer: 1000
The script will loop an infinte amount of times unless you edit the times you want the script to loop.
You can also use this program to farm credits but that is a another script, super easy as this one, but require Cheat Engine as well. Which I have used before to grind 100k a minute.