Button to hide selected items & save in folder options?

Is this possible: have selected items hidden by a single click on a button & also having it permanently saved to the folder options, so next time the folder is opened it would remain hidden?

For example, i´d like to have files "progs" or "folder.jpg" hidden (one folder & one file). Like it can be achieved via -> folder options -> filter -> setting attribute "h" & then adding the items to the file name and folder fields, but in one click only. If it would work by adding the items one by one it would be enough.

You can hide the selected items (Select HIDESEL or something like that) but there's no automated way to then save that into the folder format.

If you're already filtering out files with the H attribute then you could just make a button which sets the H attribute on the selected files. Otherwise I can't think of a good solution.

[quote="leo"]You can hide the selected items (Select HIDESEL or something like that) but there's no automated way to then save that into the folder format.

If you're already filtering out files with the H attribute then you could just make a button which sets the H attribute on the selected files. Otherwise I can't think of a good solution.[/quote]

Hi Leo, thank you. Yes, i thought it´s currently not possible, but it would be a nice feature to have settings saved to a predefined layout per button klick. Not only when hiding items, but also when arranging columns or setting view modes. Maybe i will file a feature request. Of course i looked for the appropriate hide commands, but couldn´t find anything that would set the attribute & hide the file on the fly.

This toggles the Hidden attribute for the selected items:

SetAttr TOGGLEATTR=h

[quote="leo"]This toggles the Hidden attribute for the selected items:

SetAttr TOGGLEATTR=h

Well, this solves the whole problem, thank you. The button hides an item & it does remain hidden. There´s no need to change anything in the folder options at all. :sunglasses: