Multi Commander Support Forum

Multi Commander => Feature Requests and Suggestions => Topic started by: GrantSP on April 12, 2012, 03:25:31

Title: Button bar text change depending on operation
Post by: GrantSP on April 12, 2012, 03:25:31
Hey Mathias. What I mean is it possible to have the text on the buttons to change after the the button is clicked to display the then current option.

e.g. I have written some scripts to toggle the display to show certain types of files when a button is pressed like your example for *.log files. So the button has the text "Show Logs" and when it is pressed only the *.log files are shown. However the button text still displays "Show Logs" but when it is pressed again the file display is returned to all *.*.

Is it possible to have the button text alternate between "Show Logs" and "Show All" or "Hide Folders" and "Show Folders"? That way the button bar may become even more useful than it is now!
Title: Re: Button bar text change depending on operation
Post by: Mathias (Author) on April 12, 2012, 12:43:29
No it is not possible to modify the button name from script dynamically.
Title: Re: Button bar text change depending on operation
Post by: GrantSP on April 13, 2012, 02:59:38
Thanks Mathias.

Looks like I'll just have to name them something like "Show/Hide...".
Title: Re: Button bar text change depending on operation
Post by: Mathias (Author) on April 13, 2012, 07:33:44
Yes..

It would be nice if it was possible to dynamically change the button text. I been thinking if it would be possible to add.
But it would require a lot of work to get that working so for now you have to go with fixed button names.

I will put it on the "Nice to have" list.
Title: Re: Button bar text change depending on operation
Post by: GrantSP on April 13, 2012, 07:53:51
Not a problem.

The functionality of your MultiScript is more important than what the button says and I like what it does so far.

I agree, add it to the "Nice to have" list.

Cheers :D