I just created a complex path with many overlapping ellipses then selected many of the segments in the path. Enabled the scriptlistner and then delete the selected path segments using the delete key Scriptlistener recorded this. However it recorded noting when I used the direct selection tool to select the dozen segment in the path for deletion..
// =======================================================
var idDlt = charIDToTypeID( "Dlt " );
executeAction( idDlt, undefined, DialogModes.NO );