My suggestion would be to use the Go to Related Record[]
script step to go to the record in the selected row. If you want, you can do this in a new window (like your script does). Note that this step also allows you to select the layout. Note also that when printing, you can select to print the current record only.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…