PDMWE hook, using EdmCmd_CardButton

Got a nice little hook working, with just one problem (fornow).

Want to do something based on when the user clicks the "save"button.

PDMWE calls my hook for the "save" button BUT also calls it forother things too!

Is there something I can check to see if just the "save" button wasclicked? Like a button ID or button name or something?

thanks, Tom

SolidworksApi macros