When this type of thing hasn't worked for me in the past, I've just added the command @SetTargetFrame before my compose statement. If you haven't tried this before, give it a go.
@SetTargetFrame( framename );
@Command([Compose];"";"FormName")
ps. I'm running R5.08.