If you are running a citrix script some times you may get error of different window size.The solution is
Go to the script directory in Windows Explorer.
Open the default.cfg file located inside the script directory and change the window= value under the [CITRIX] section to a valid value that can be seen in the recording options (640 x 480, 800 x 600, 1024 x 768,1280 x 1024 and 1600 x 1200).
Note: if you have any ctrx_sync_on_bitmap functions recorded it will not replay in the new window setting because the hash value will be different.
Open the default.cfg file located inside the script directory and change the window= value under the [CITRIX] section to a valid value that can be seen in the recording options (640 x 480, 800 x 600, 1024 x 768,1280 x 1024 and 1600 x 1200).
Note: if you have any ctrx_sync_on_bitmap functions recorded it will not replay in the new window setting because the hash value will be different.