How to create conditional shortcut?

I used to use Inventor. I can set 'c' as draw circle in sketch and use 'c' as constraint in Assembly. Can I do that in SW?

Thanks

SolidworksApi macros