[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: scripten oder vergleichbares von GPhoto2 --shell



Hallo Robert,

Am 14. Februar 2017 um 20:53 schrieb Robert Stephan
<robert.stephan@entenhof-im-ried.de>:

>
> Starte ich Gphoto2 im shellmode, also "gphoto2 --shell" erhalte ich eine
> interaktive Shell, in der der Befehl  "set-config /main/actions/
> manualfocusdrive=6" genau das tut was ich will.
> Nur finde ich keinen Weg in dieser "Gphoto2shell" ein script aufzurufen das
> irgendeine Aktion ausführt.

Hast du mal versucht ein "shellscript" zu schreiben welches diese
shell verwendet?

---8<-------8<-------8<-------8<----
#!/pfad/zu/gphoto2 --shell
set-config /main/actions/manualfocusdrive=6
set-config /main/actions/manualfocusdrive=7
set-config /main/actions/manualfocusdrive=8
---8<-------8<-------8<-------8<----

Es ausführbar zu machen und eben auszuführen?

Ich kenne gphoto nicht. Das ist ein reiner Schuss ins Blaue.

Grüße,
Stefan


Reply to: