Question for Druids, is this possible to do with a Macro?

I have a button bound to my mouse and I’d like to be able to press it to activate Wild Charge, whereas if I am in Cat Form, I’ll transform to Bear Form and Wild Charge, but at the same time, if I’m already in Bear Form, I don’t want it to take me out of Bear Form to do the same thing. How would I do this?

This thread might have something for you.

It should work now, give it a go.
/cast [noform:1] Bear Form
/cast Wild Charge

try this got it from Wild Charge Macro - #8 by Maplesong-emerald-dream

Tried this one. When I’m in cat form though it just switches me to Bear Form, but doesn’t cast Wild Charge unless I press it again.

Yeah I don’t think it’s gonna be possible to have a macro like that you can just press once. There’s 2 different things you wanna do and I don’t think you can make macros like that anymore because of the automation.

I could be wrong though. Not an expert, just trying to help.