I came across this problem a while ago myself, but I never had the incentive to fix it to make it easier - until now. You can now set the output stream to a file of your choosing. All the file streams are flushed, so you should be able to get to them more easily too.
SET_OUTPLUG fname
Set plugout drive commands like GET_DICOM_XYZ,GET_IJK,GETENV to append output
to a selected text file. The default output is to stdout of the afni GUI rather
than the plugout_drive's program. The string 'stdout' resets the output to
stdout. The default output file can also be set by the AFNI environment variable,
AFNI_OUTPLUG.Note the output is always appended, so if you need this to be a
new file, you will have to delete or rename the old copy first.
Another possibility is to use the graph window to create a graph 1D file with a keypress. That writes out a file with the ijk index in the name. I modified the code so the graph doesn't have to be more than a single time point. An example command to do this is
OPEN_WINDOW a.sagittalgraph keypress=w
Edited 1 time(s). Last edit at 06/02/2015 05:38PM by Daniel Glen.