I am having difficulty with this fantastic script (Universal Motion Detection).
It only seems to work when the pre-focus mode parameter is set to "0", meaning that it only can focus after the motion is detected and not before.
When I set pre-focus to "1" and run the script, it does focus but then no motion is detected and consequently no photos are taken.
Is this a common problem?
I would really like to photograph some lightning using this script, but without the pre-focus mode I fear that this will be impossible.