The easiest work around for Eclipse, is to approximate the procs.
Have your castsequence clicks, hit IS/MF as they expire.
Couple of problems -

1) It procs off crits. Unless you have a way of 'knowing" when you'll crit, this will never work. (one is 100% chance on crit, the other is 60% chance on crit)
2) There is an internal CD on the procs (lunar / solar) - 45 sec cooldown until it can proc again
3) There is an internal CD BETWEEN procs. 15s after lunar/solar ends, then the other "CAN" proc - if you get a crit. (100%/60% chance to proc).

So "approximating" this with a castsequence is an excersize in futility.

Blizzard has made the Eclipse proc the most complicated mechanic in the game, and I'm hoping they just take the stupid thing out.

I could probably model it out on a spreadsheet and get "best case scenario" numbers - but as soon as you move the timing starts over. Your macro won't start over and you're just screwed at this point. It really requires Human intervention.