I'm trying to use the script asfamcExporter.MEL for export from Maya (2011) to asf/amc, and I get the following error:
// Error: Controls must have a layout.  No layout found in window :
I'm using a scene that was originally .csm motion data (only markers and no skeleton). It was opened, processed and saved in 3dstudiomax as .fbx, and then re-opened in Maya in order to convert to asf/amc. 
Can you please help me understand what I'm doing wrong and how to do it right?