A_ListLines not compatible with ListLines.
Posted: 27 Jul 2018, 15:24
A_ListLines contains a boolean but ListLines doesn't accept a boolean. So that means when somebody wants to save and later restore the settings, they can't use something like this:
But instead they have to do something like this:
My first example is what works with A_DetectHiddenWindows, A_AutoTrim etc. So whether it's changing ListLines to accept a boolean or changing A_ListLines to contain "On"/"Off" instead of a bool, I feel like consistency would be good.
Code: Select all
O_ListLines := A_ListLines
; code
ListLines, % O_ListLines
Code: Select all
O_ListLines := ( A_ListLines ? "On" : "Off" )
; code
ListLines, % O_ListLines