Yes, I was a ble to record an action using insert "menu item". The script listener came back with:
var id1466 = charIDToTypeID( "slct" ); var desc338 = new ActionDescriptor(); var id1467 = charIDToTypeID( "null" ); var ref245 = new ActionReference(); var id1468 = charIDToTypeID( "Mn " ); var id1469 = charIDToTypeID( "MnIt" ); var id1470 = stringIDToTypeID( "snap" ); ref245.putEnumerated( id1468, id1469, id1470 ); desc338.putReference( id1467, ref245 );
executeAction( id1466, desc338, DialogModes.NO );