Hi,
there is out-of-the-box Action Macros with status change code (search for "status" in macro area), they can be used for objects that are in Edit mode (checked out), using Attached Events for example.
If you want to call status change method for 3rd party object of frg script you need to use change_status method then, example could be found here (line 65):
Regards,
Timur Alimov