Click New on the Events tab.
Select Object Inserted in the Event field.
Click the down arrow in the Action field.
Select onsmartobject (Script), which is the name given to the script written for the SmartObject event.
Result: The Events tab displays the Smart Object and Insert Object events with the same script designated for the procedure.
Example: Object inserted and SmartObject.