Button In Browser and printing to history
Hi,
I have created a button in the browser to allow a user to select a sample for viewing. It pulls data from several folders and plots them with some calculations. All well and good.
One improvement I would like is to prevent the command from being printed into the history window. The equivalent of /Q (quiet) in many functions.
Is this possible in IP9?
Andy
Consider using a contextual menu item instead.
That's available since IP9 and gets around some peculiar legacy behavior that using buttons gives you.
I think you may be able to use ModifyBrowser echoCommands=0 to turn off printing the commands, but whether your button code should do that is questionable, since that doesn't apply only to your button but more generally to the Data Browser.
April 9, 2026 at 08:51 am - Permalink
Just thinking out loud without knowing better ... Can you hide the command from printing in the history window by using Execute?
April 9, 2026 at 12:17 pm - Permalink
I used such buttons for a few years before I decided that they are way to limited and also permanently clutter the Data Browser, which gets a problem when you introduce more and more features. Why not use a contextual menu as suggested by aclight or a proper (top) Menu item, which could also be set up with a keyboard shortcut for more convenience?
April 9, 2026 at 09:49 pm - Permalink