I develop an ulp program to finalize all manufacturing documents and documentation in single click.
Among others, to trace the GERBER files I use any shell commands like 'eagle.exe -X....' this done access to the 'CAM' processor in an automated way).
Also by this way, I plot the GERBER of the board file saved on my hard disk, and not of the opened board document.
So to avoid all mistakes, it would be better at first time to save all documents (SCH + BRD).
I do not know if it can be done in a 'ulb' routine or in a 'scr' script (it is an another possibility).
Can someone help me?