practically it might be possible greating a more complex key sequence task to do longer scripting tasks on various machines, however it's strongly recommended not doing so. When executing a key sequence tasks, the saved keys are being emulated on your local machine. So when you open, for example, notepad during automated typing of a longer command, the command will be continued typing within the notepad window. This way even your passwords might be typed visible in any other windows, which gains the focus - also on any notifications, or popping up windows.
So when performing key sequence tasks through multiple servers, this might even get worse, when any emulated key is not sent over to the remote machine correctly. From our past experience the ActiveX RDP control by Microsoft, what Royal TS takes use of, is not really reliable when sending keystrokes to the other RDP side.
If you're sure you want to continue going that way, we're still glad to assist you anyway. However, we strongly recommend not doing so and taking advantage and use of PowerShell. (and unblocking PowerShell on the remote systems)