I need to filter record in my List Mode. I made a button, named it "Filter" and made script to filter records depending of button's text (with function GetLayoutObjectAttribute). If it is "Filter", script performs find and then sort. If it is "Show All" - finds all records and sorts. All this work, when button text is setting in Layout Mode. How to change this test as scrip step? After finding needed records - change text to "Show All".