Ummm.. ok, I guess I could try setting up each grid pattern under a different save settings option, then within the script switch to the different saved settings option based on the md_get_cell_diff.
Thanks!
The only issue unresolved is the grid cell has to be contiguous e.g. single square/rectangle and/or sequenial set of squares/rectangles. Solves the a to b to c issues, but not the non-contiguous issues e.g. grid area A in upper left corner being used at the same time as grid area B in lower right. (with the center && surrounding areas as non-motion sensitive)
or once B has "triggered" switch to using (not shown with an example) grid A in upper left and grid C in lower left.
I kinda suspect this would require modifying CHDK's source to be able to support.
Example: * represents motion grid lines area
First example below is supported, but second example with 2 non-contiguous areas, doesn't seem to be (with or without different actions being associated with the different grid areas).
Where, with each defined area top left, bottom right could be associated with a different script action.
______ ______
|** | but wanted to be able to do |** |
|** | |** |
| | | **|
| | | **|
-- ------- ----------