You can run script only on active window.
If you don't need user interaction in script steps.
Go to Layout [for print]
Perform Find 
Save Records as PDF  //tested on FM14, this step can be with dialog
Go to Layout [original]
silently make PDF.
Thanks, but I can never seem to get Freeze Window to work and it doesn't now either. I have the Freeze Window step right before the Go To Layout step but it does nothing. It changes to the new layout which is what I'm trying to avoid.
You need goto original layout before script end.