On Fri, Sep 15, 2006 at 12:03:11PM +0200, Jean-Marc Lasgouttes wrote: > >>>>> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: > > Angus> Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: > >> For command sequences, as a heuristic, the sequence is declared > >> enabled if the first action is enabled. This is not correct, but I > >> do not have a better idea. > > Angus> Why don't you loop over all commands in the sequence and > Angus> establish if any actions are disabled? There are no if-blocks > Angus> to complicate the logic. > > Because action 2 may not be possible until action 1 has been done (for > example, action 1 opens a math inset and action 2 is a math-only > operation).
Erm. Diregard my last post in this thread. I assumed it was general 'sensible' action disabling, not for command-sequences. Andre'
