Need to create hole wizard macro

I need to create API or recorded macro to create hole using Hole wizard.

I have recorded some macros, but its not working.

How to include selection box in API?

SolidworksApi macros