The they is the villanies, I presume and it is they who have set the play in motion. The villanies wrote the scenario, the villanies started the plot.
Hamlet was hoping to make his own work, from his own brain – but all these villanies kicked into action and his play was tanked before it could even begin. Before he could even work out how he wanted to begin, he was forced to react to the villanies before him.