#target photoshop;
var s2t = stringIDToTypeID;
(r = new ActionReference()).putProperty(s2t('property'), p = s2t('currentToolOptions'));
r.putEnumerated(s2t('application'), s2t('ordinal'), s2t('targetEnum'));
var toolOptions = executeActionGet(r).getObjectValue(p),
characterOptions = toolOptions.getObjectValue(s2t('textToolCharacterOptions')),
textStyle = characterOptions.getObjectValue(s2t('textStyle'));
textStyle.putInteger(s2t('antiAlias'), 0);
characterOptions.putObject(s2t('textStyle'), s2t('textStyle'), textStyle);
toolOptions.putObject(s2t('textToolCharacterOptions'), s2t('null'), characterOptions);
(r = new ActionReference()).putClass(s2t('typeCreateOrEditTool'));
(d = new ActionDescriptor()).putReference(s2t('target'), r);
d.putObject(s2t('to'), s2t('target'), toolOptions);
executeAction(s2t('set'), d, DialogModes.NO);
Frst we need to find in which object the antiAlias option is located (application -> currentToolOptions -> textToolCharacterOptions -> textStyle). In one of the recent threads @Stephen Marsh gave you a link where it was described in detail how to search for parameters. Then we sequentially collect the object in reverse order, i.e. first we put antiAlias = 0 in textStyle, then we put textStyle in textToolCharacterOptions, and finally put textToolCharacterOptions in currentToolOptions (do not forget that in addition to the name of the object, we need to specify its classID - all this is available at the stage of searching for the desired variable). After we got the finished object, we simply assign it to the typeCreateOrEditTool class (name of current tool can be found at application -> tool)