Not sure offhand, but when switching layouts, if you stay in the same record, then will the onRecordLoad work? I was thinking it would not. But why not just hard code into your script steps to change layout, print the found set, go to the next layout, print it, etc. You can make going to each layout conditional on whatever field you are looking at including using the PatternCount function if you want. You might try posting an example shell file and I'm sure we can rework it for you.
Got it, using a Print command inside a Loop. Thanks.