User Tools

Site Tools


macros:example:clearshowlibrarysearch

Example

Clear ShowLibrary Search

by: Sebastian Beutel
published: March 2018
description: Clears the search string in the ShowLibrary
remarks: see also Search ShowLibrary

functions

affected properties

Code

showlibclearseach.xml
<?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>

Explanation

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.

How to use it

You could leave a comment if you were logged in.
macros/example/clearshowlibrarysearch.txt · Last modified: 2018/04/02 09:03 by icke_siegen

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki