1
I have written a bunch of macros that allow me to enable or disable a specific Outlook rule (i.e., delayed sending of messages) via a toolbar button. They also change the button's appearance to show me whether the rule is enabled or not. This works fine.
What I needed now would be an event or hook that would be allow me to run the macros when the rule is enabled or disabled in the usual Outlook dialog, so that the button on the toolbar could be synchronized accordingly.
Any ideas?
I'm not sure I follow. Are you saying you want the state of the rules (enabled/disabled) in the Manage Rules And Alerts dialog referenced in your custom toolbar? – Dave – 2014-11-28T14:21:48.300
Yes, exactly. And my macro's button can already toggle a rule's state and display this state. But I don't know how to update the display when the rule is toggled in the conventional way. – Christian – 2014-12-01T08:58:17.000
I can think of 2 hacks, neither ideal. Put a timer on the ribbon control, checking the state of the rules every N seconds. Or, a refresh button in the ribbon control. – Dave – 2014-12-01T09:00:14.697