Is this with RISC OS 5? If so, one problem is that double-clicking the
command file icon in the directory viewer causes it to steal the focus
from PipeDream, so it has no 'current' document to apply it to. I have a
fix for some command file issues in the upcoming 4.56. Would you like a copy of the preview version of that to see if it fixes your specific issue?
Stuart