Skip to content

Easily test page lists with CrLf2Semicolon

Drew Naylor edited this page Oct 10, 2018 · 4 revisions

Edit October 9, 2018: AppVeyor build with "Check all" button here. HideSettingsPages now has "Check all" and "Uncheck all" buttons when you right-click on the page list to make it easier to apply all the pages at once. CrLf2Semicolon is still useful if you don't want to save a page list and restart HideSettingsPages, though. Eventually, HideSettingsPages might get an option to reload the page list.

If you want to create your own page lists (or edit the one used by HideSettingsPages), it might be difficult to know which Settings app pages are already in the page list and which ones need to be added. Until now, this meant a lot of manual work, whether it be by selecting all the page list entries by clicking one, then pressing Spacebar, Down, and repeat until done; by manually replacing each line ending in the page list file with semicolons; or by replacing all occurrences of "\r\n" using something like Notepad++'s Replace window in "Extended" search mode. I just figured out that last one, but I made a program that does this more easily.

Today (October 3, 2018), I present CrLf2Semicolon, a new piece of software that takes a page list as input (by pasting it in) in the left textbox, and replacing Windows line endings (CrLf) (Unix line endings [Lf] as well, optionally) with semicolons (;). This makes it much easier to test which pages are left to be entered into the page list, now only requiring that the "hiding mode" be added to the front (hide: or showonly:) of the string, then the string needs to be pasted into the correct Registry key value (I'll paste it here later).

Currently, CrLf2Semicolon is available in HideSettingsPages\CrLf2Semicolon. I don't have a CI thing set up yet (for CrLf2Semicolon; there's one for HideSettingsPages), but I probably should.

"Select all" buttons are placed underneath both the Input and Output textboxes for easier copying/pasting/deleting in case Ctrl+A doesn't work. There isn't a "Copy to clipboard" button for the Output textbox yet, but that's something I want to implement in the future at some point.

Screenshots:

Main window, after pasting in a page list and clicking the "Replace CrLf characters with semicolons" button:

About window, next to main window:

Clone this wiki locally