Using * (asterisk) before a command causes the command to repeat automatically without pressing Enter to restart and using a - (hyphen) suppresses dialog box. More…
So something like this must do the trick:
*-GrasshopperPlayer "C:\RerunScript.gh"
You can also create an alias for this macro: