There isn't a macro condition for that. What I tend to do is write a macro like this.
Code:
/cast [btn:1] ItemName; SpellName
This makes left-clicking the button use the item and right-clicking will create it.
Of course, replace
ItemName and
SpellName with the names of the actual item and creation spell.