Hello everyone,
I'm new to Lua and was trying to modify the chdkptp-gui on my raspberry pi to my needs and wanted to add a button to perform remote shooting plus downloading the picture when it's done.
Taking the picture with "shoot()" and maybe even more by using "sleep(time)" is not the problem but how could I have it download the picture also automatically after it is taken? I know it is in cli that just "shoot -dl" or "remoteshoot [LOCATION]" but how could I have the button perform those cli commands or script it in Lua/Luar?