ScriptInterface:LayersWindowGetSearchContext()

Version added: 12.2

Added in version 12.2

Return type: LayersWindowSearchContext

function My_Test:Run(moho)
print("The search context is " .. moho:LayersWindowGetSearchContext() .. ".")
moho:LayersWindowSetSearchContext(MOHO.LAYERWND_SEARCHCONTEXT_TIMELINEVISIBILITYIS)
print("The search context changed to " .. moho:LayersWindowGetSearchContext() .. ".")
print("The search value is " .. moho:LayersWindowGetSearchContextValue() .. ".")
local s = tostring(MOHO.LAYERWND_SEARCHCONTEXT_VIS_ISVISIBLE)
moho:LayersWindowSetSearchContextValue(s)
print("The search value changed to " .. moho:LayersWindowGetSearchContextValue() .. ".")
end
String "LayersWindowGetSearchContext" is found in the following scripts:

Tagger (by Lukas)

Embed Script (by Lukas)

Toggle Keys Filter (by Lukas)

FO_Utilities (by Lukas)

See all...