Citrix and Terminal Services support
It is possible to use WinTask for such environment automation. However, some restrictions apply.
If WinTask is used directly on the Citrix server, it works as usual.
If WinTask is used on the "light" client, the applications are seen in a unique window which prevents WinTask to see each individual object within that unique window. To record the actions in such an environment, use Recording mode as usual and look at the different UseWindow lines generated.
If they are different but start all with the same words, add #UseExact=1 at the beginning of the script, so each new window will be seen as a new one at replay.
If they are the same, UseWindow won't do the automatic synchronization and you need to add a synchronization on OCR Text from one screen to another to force the script to wait until the new window is loaded.