Picture the following scenario: user selects a bunch of items, and the 'bulk actions' box appears; user selects an action that not all items support (for one reason or another).

What do you do in this case: apply the action to items that support it? don't apply the action at all and show an error message?

My current ideas are to either:

* Apply the action to items that support it; for actions that cause the items to disappear (like 'delete item'), I'd leave the offending items behind, still selected, with an error message: "some items could not be deleted".
* Disable the actions that are not supported by *all* the items and provide a 'fix this' link that deselects the offending items for the action.

Also, can you point me towards any relevant real-world examples?