Example
by: | Sebastian Beutel |
---|---|
published: | March 2018 |
description: | Clears the search string in the ShowLibrary |
remarks: | see also Search ShowLibrary |
<?xml version="1.0" encoding="utf-8"?> <avolites.macros xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="Avolites.Menus.xsd"> <!-- Clears show library search string --> <macro id="UserMacro.ShowLib.ClearSearch"> <name>ShowLib Clear Search</name> <sequence> <step pause="0.001">ActionScript.SetProperty.String("Windows.ShowLibrary.FilterText","")</step> </sequence> </macro> </avolites.macros>
This explains the functional steps within the sequence. For all the other XML details please refer to Formats and syntax
This macro sets the ShowLibrary search string to an empty string. Same result as ShowLibrary→Search→Clear Search→Exit.