Hello,
I am sorry, I program in Delphi, C++ and C#, but I never use Python, so I make some try, sometime it's working, sometime not!!
Thanks again
Michel
Thanks a lot Robin, now the script in python can start from a .bat, BUT, there is a blocking windows that tells that it's a beta version before the script, so it's unusable. A last thing too, I try to close Sharpcap with a python instruction, but I am still stupid in Python, I can't find it.
Thanks
Regards
Michel
no, there's no option to pass a parameter, but you should be able to work around that problem...
* Make your batch file write whatever parameters are needed to a file somewhere on disk
* Make your python script read the parameters from file as it is starting.
I have tried without success, but I am not a reference in Python. Otherwise for instance, launch a python script directlt at the start of SharpCap works only with beta 4.1 version, and there is az confirmation message of Sharpcap before the start, so not very usefull, but Robin works on it, and again thanks to his wonderfull job. And as Robin says, you can use a file to save the desired values.
Michel
Hello Jean-François,
My goal is to have an automatic session with NINA. For example, take pictures during the night, after at a precise hour point in the direction of occultation, next launch automaticly Sharpcap with a script in Python, and after come back to NINA and continue the night. All these things automaticly, and during that, I can sleep.
Michel