User Tools

Site Tools


Example: Show all possible settings and values of a camera

This script prints all settings and possible values (for the current camera state) to the log output. We assume that the camera is already connected.

NOTE: The possible values are dynamically loaded from the camera and can change when the camera changes its state (for instance when the camera mode is changed).

var cameraName = "GoPro Hero 4";

var allSettings = GetCameraSettingList(cameraName);
for (var i=0; i<allSettings.length; ++i)
    LogText("Name: " + allSettings[i]);
    var possibleValues = GetCameraSettingValues(allSettings[i], cameraName);
    for (var j=0; j<possibleValues.length; ++j)
        LogText("       > " + possibleValues[j]);
example_printallsettings.txt · Last modified: 2016/09/06 08:42 by act