UPDATE 6/2/10: While the tip below will work to set a dwrite, you can’t rely on eggPlant picking up the change to the setting during the script run. There are threading and notification issues that may prevent the change being detected by the application for some time after it has been made. Also, the -array-add flag is not supported on Windows or Linux.
There’s no EggPlant command to do this and there’s no global variable that you can access directly within a script. However, you can do it by using the shell() function to issue a dwrite:
put shell("defaults write com.redstonesoftware.Eggplant DisabledEncodings -array-add Cursor")
Note that this will mean that the rich cursors are disabled until you re-enable them, either by checking the box in the Preferences or by deleting the dwrite. There doesn’t appear to be the granularity available to remove a single element from the dwrite array, so you can only remove the entire array via the command line. To do it from within your script, you would again use the shell function:
put shell("defaults delete com.redstonesoftware.Eggplant DisabledEncodings")
Please be aware that the dwrites are case-sensitive, so you need to be sure to enter them exactly as they appear above.