Page 1 of 1

Notepad mirror?

Posted: Sat Jun 24, 2017 3:54 am
by Daehawk
Im trying to organize my Skyrim SE mod list and I put the list in notepad. But my brain works better if I try to organize from the top down. But in the game its the latter mods that take precedence over the ones above them. If I list the mods in the order I want from top to bottom is there an easy way to simply flip the list so whats at top ends up on bottom and bottom ends up on top?..just a vertical mirror flip?

Re: Notepad mirror?

Posted: Sat Jun 24, 2017 8:38 am
by killbot737
If you have a Linux/OSX box available:

tac <filename>

Here's a powershell script to reverse a file. PS is being a pain and won't let me run it from the command line, so you have to open up the PS editor. Start typing powershell into the Windows Run box and choose Powershell ISE, then paste this script in there and replace the filename with the one you want to run it on. I'm no powershell expert, so no making fun of how terrible this script is.


#daehawk's spiffy file reverser
$filein = "c:\your_file_name_and_path_here.txt"
$x = Get-Content -Path $filein
[array]::Reverse($x)
$x | Out-File ($filein + '.rev.txt')

Re: Notepad mirror?

Posted: Sat Jun 24, 2017 3:05 pm
by Daehawk
Thank you...will give that a go once the list is organized.

Re: Notepad mirror?

Posted: Mon Jul 03, 2017 5:24 pm
by Bad Demographic
Or list them vertically in Excel and assign them each a number (1,2,3, etc.). Then select the two columns, go to the "data" tab and choose "Z to A". To switch them back, just click "A to Z".

Re: Notepad mirror?

Posted: Mon Jul 03, 2017 7:20 pm
by Anonymous Bosch
In a similar vein to Bad Demographic's suggestion, if you use the free, open source Notepad++ text editor -- a vastly superior replacement for ordinary Notepad -- you can easily flip or reverse the line order of a text document with the TextFX plug-in:
  1. Select the entire document (ctrl+A) or the section you want reversed, and from the TextFX menu select TextFX Tools -> Insert Line Numbers.
  2. From the TextFX menu, ensure that TextFX Tools -> +Sort ascending is unchecked, then select TextFX Tools -> Sort Lines Case Sensitive (at Column) which will reverse the order of the lines.
  3. From the TextFX menu, select TextFX Tools -> Delete Line Numbers or First Word, and you're done.
(If you don't have the TextFX plug-in installed, just go to Plug-ins -> Plug-in Manager -> Show Plug-in Manager, select the TextFX Characters checkbox, and click Install).

Re: Notepad mirror?

Posted: Tue Jul 04, 2017 5:05 am
by Daehawk
Cool beans. Will try and remember this stuff when I fix the list. I need to edit it as Ive come across a handful of MODs I wont be using in it.

Re: Notepad mirror?

Posted: Tue Jul 04, 2017 1:22 pm
by Rumpy
I love Notepad++. Seriously can't do without it now. I work with webpages and when someone referred me to a specific line in a script I needed to modify, until I downloaded the program I wasn't sure which line was which. For anyone planning on doing website work or coding, it's a great tool.

Comes in really handy for editing config files for games too.

Re: Notepad mirror?

Posted: Tue Jul 04, 2017 1:27 pm
by RunningMn9
Notepad++ is the bee's knees.

Re: Notepad mirror?

Posted: Tue Jul 04, 2017 2:22 pm
by Isgrimnur
Especially with the Compare plugin when doing iterative development.

Notepad mirror

Posted: Sun Sep 24, 2017 2:41 pm
by Jamesgoole
Thank you for this I will use this for my BOS. Do you feel the mirror works better for you than other types of divination?

Re: Notepad mirror?

Posted: Sun Sep 24, 2017 6:53 pm
by Blackhawk
Wow. Flashbacks induced by new-age bots who can see the future by reversing lists in Notepad.

I'm just pleased that upon seeing "BOS" my first thought was Brotherhood of Steel rather than Book of Shadows.

Re: Notepad mirror

Posted: Sun Sep 24, 2017 7:26 pm
by $iljanus
Jamesgoole wrote:Thank you for this I will use this for my BOS. Do you feel the mirror works better for you than other types of divination?
Well it's certainly less messy but I think the old ways are the best so I prefer the use of bloody entrails for my divining needs.