Hi, I have a well working LUA script, - it always starts in shooting mode, due to:
press("shoot_half")
sleep(200)
release("shoot_half")
sleep(2000)
except:
if there are no photos on the SD, it'll rather start in play mode saying "no image" , then I need to stop/start my script.
The script does start, just don't extend the lens, (the code above is ignored)
Same happens occasionally when there are pictures, showing last picture - and it needs stop/start (by pressing shutter) to go into shooting mode.
It's used for robotics, so it's really inconvenient.
How can I ensure shooting mode?