#define PROPCASE_AF_FRAME 8 // 1 = ?FlexiZone, 2 = Face AiAF / Tracking AF// unk. member: r= shooting_get_prop(camera_info.props.af_frame);
shooting_set_prop(8, x);
props=require("propcase") print(get_prop(props.AF_FRAME)) wait_click(0) -- Lua does the expected... case TOKENIZER_GET_AF_FRAME: accept(TOKENIZER_GET_AF_FRAME);// r = shooting_get_prop(8); // => r = shooting_get_prop(camera_info.props.af_frame); // (...metering_mode is fine)instead happens:ubasic.c: In function 'factor':ubasic.c:508:41: error: 'struct <anonymous>' has no member named 'af_frame' r = shooting_get_prop(camera_info.props.af_frame);
Code: [Select] r = shooting_get_prop(camera_info.props.af_frame); // (...metering_mode is fine)instead happens:ubasic.c: In function 'factor':ubasic.c:508:41: error: 'struct <anonymous>' has no member named 'af_frame' r = shooting_get_prop(camera_info.props.af_frame);
r = shooting_get_prop(camera_info.props.af_frame); // (...metering_mode is fine)instead happens:ubasic.c: In function 'factor':ubasic.c:508:41: error: 'struct <anonymous>' has no member named 'af_frame' r = shooting_get_prop(camera_info.props.af_frame);
There are some cams with empty backup-bat out there.Factory reset goes not to center AF, what might be nasty.Seems, that I can´t change behavior with script.(Maybe only I can´t...?)
https://chdk.setepontos.com/index.php?topic=14090.msg144094#msg144094
Started by wap4 General Discussion and Assistance
Started by scarlo70 Script Writing
Started by scarlo70 Feature Requests
Started by fudgey « 1 2 » General Discussion and Assistance
Started by pigeonhill « 1 2 » General Help and Assistance on using CHDK stable releases