Cast a spell when it procs?

Is there any way to macro in a spell, so it casts everytime it procs? Such as for the fire mage, if they get two crits in a row they can instant cast a Pyroblast free of mana with 100% damage increase. Is there any way to write this into a macro (thats being spammed by Autohotkey) so it will throw that Pyroblast out everytime it procs? Or do I always need to have a 2nd button for Pyroblast and manually hit it on every proc myself?

I scanned over a few faq threads but couldn’t find the answer to this. I likely missed it, since I didn’t have time to read everything in depth.

[quote quote=17936]Or do I always need to have a 2nd button for Pyroblast and manually hit it on every proc myself?
[/quote]

This or you could set up a 2nd ket that goes through all your possible procs and offset the timing of key repeats.

Cast spell only when it becomes instant - Lazy Macros / How To’s - WoW Lazy Macros