Setting not supported by Tweak
Posted: 27 Oct 2021 14:38
Hello, I'm trying to create a button that will toggle the "Apply to files only" option for visual filters. I found a forum thread suggesting the Tweak function and tried that after looking up the setting in the ini:
but I get "Key 'VFApplyToFilesOnly' is not supported by Tweak." I checked the scripting reference and found the setting and settingp commands but those don't seem to work either.
"vfapplytofilesonly" is not a known parameter of command "settingp".
I'm curious why every setting can't be changed by the tweak command? Later on I'd also like to make a script to toggle multiple settings at once, for example, simultaneously turning off thumbnail captions, reducing the padding to 0, and setting the style to Plain, and clicking again to enable caption, set padding to 2, and set the style to Frame with Shadow. Is such a thing possible?
::tweak("VFApplyToFilesOnly", "");but I get "Key 'VFApplyToFilesOnly' is not supported by Tweak." I checked the scripting reference and found the setting and settingp commands but those don't seem to work either.
::settingp("VFApplyToFilesOnly", 1);"vfapplytofilesonly" is not a known parameter of command "settingp".
I'm curious why every setting can't be changed by the tweak command? Later on I'd also like to make a script to toggle multiple settings at once, for example, simultaneously turning off thumbnail captions, reducing the padding to 0, and setting the style to Plain, and clicking again to enable caption, set padding to 2, and set the style to Frame with Shadow. Is such a thing possible?