Someone, I forget who, asked for the ability to externally "drive" (e.g., via plugout_drive) the intensity range for AFNI image viewer windows. I just added this feature to the source code, so that a command like
afni -com 'OPEN_WINDOW A.axialimage range=20,80'
should do the trick. This will be built into the next set of binaries that we compile.