Page 1 of 1
Option ForceLibraryHistoryCheck naming
Posted: 09 May 2017 10:32
by hdradio
I was watching youtube video : ProppFrexx Histories, Restrictions and Rules.
You explain that the option "ForceLibraryHistoryCheck" is directly related to Script Max. History.
I think that this name should be "ForceScriptHistoryCheck". The word "library" points out to Media library instead of "script history library".
Re: Option ForceLibraryHistoryCheck naming
Posted: 09 May 2017 11:33
by hdradio
I did not understand from the video that it affects media library too (which you suggest let history=0).
PFOA user for almost 4 years and still learning.
Re: Option ForceLibraryHistoryCheck naming
Posted: 09 May 2017 12:44
by hdradio
I think that it would be easier to have 3 options. One for each history. I had told you that in the past.
SuppressGlobalHistoryCheck
SuppressScriptHistoryCheck
SuppressLibraryHistoryCheck.
Default would be check all histories.
That way is easy for anyone to understand what each option does.
Re: Option ForceLibraryHistoryCheck naming
Posted: 09 May 2017 12:49
by radio42
Yes, but now that we have these options, I must also ensure backward compatibility...
Re: Option ForceLibraryHistoryCheck naming
Posted: 09 May 2017 21:14
by radio42
Both are affected: the script library history AND the media library history.
So the "ForceLibraryHistoryCheck" enables both, the media library history (if defined) as well as the script library history (if defined).
That's why I have chosen this name.
If I would have used the name "ForceScriptHistoryCheck" - it would not be clear, that also the media library history is affected

Re: Option ForceLibraryHistoryCheck naming
Posted: 09 May 2017 21:45
by radio42
Yes, in case the media library history is set to 0 (as per default), there is NO media library history- that's why i didn't mention it explicitly in the video. Using a media library history is only useful in very very specific cases. So the rule of thumb is: don't use it unless you know that you need it and if you don't know why you might need it, you probably really don't need it
But if there would be a script library history AND a media library history defined, than the option 'ForceLibraryHistoryCheck' would apply to both.