Notepad mirror?

For general computer discussion & help, come here

Moderators: Bakhtosh, EvilHomer3k

Post Reply
User avatar
Daehawk
Posts: 63524
Joined: Sat Jan 01, 2005 1:11 am

Notepad mirror?

Post 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?
--------------------------------------------
I am Dyslexic of Borg, prepare to have your ass laminated.
I guess Ray Butts has ate his last pancake.
http://steamcommunity.com/id/daehawk
"Has high IQ. Refuses to apply it"
User avatar
killbot737
Posts: 5660
Joined: Wed Mar 02, 2005 11:19 pm
Location: Next to America Jr.

Re: Notepad mirror?

Post 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')
There is no hug button. Sad!
User avatar
Daehawk
Posts: 63524
Joined: Sat Jan 01, 2005 1:11 am

Re: Notepad mirror?

Post by Daehawk »

Thank you...will give that a go once the list is organized.
--------------------------------------------
I am Dyslexic of Borg, prepare to have your ass laminated.
I guess Ray Butts has ate his last pancake.
http://steamcommunity.com/id/daehawk
"Has high IQ. Refuses to apply it"
User avatar
Bad Demographic
Posts: 7772
Joined: Wed Oct 13, 2004 9:21 am
Location: Las Cruces, NM

Re: Notepad mirror?

Post 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".
"Those who can make you believe absurdities can make you commit atrocities." Voltaire

Black Lives Matter
User avatar
Anonymous Bosch
Posts: 10512
Joined: Thu Oct 14, 2004 6:09 pm
Location: Northern California [originally from the UK]

Re: Notepad mirror?

Post 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).
Last edited by Anonymous Bosch on Tue Jul 04, 2017 3:52 pm, edited 1 time in total.
"There is only one basic human right, the right to do as you damn well please. And with it comes the only basic human duty, the duty to take the consequences." — P. J. O'Rourke
User avatar
Daehawk
Posts: 63524
Joined: Sat Jan 01, 2005 1:11 am

Re: Notepad mirror?

Post 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.
--------------------------------------------
I am Dyslexic of Borg, prepare to have your ass laminated.
I guess Ray Butts has ate his last pancake.
http://steamcommunity.com/id/daehawk
"Has high IQ. Refuses to apply it"
User avatar
Rumpy
Posts: 12672
Joined: Sun Mar 27, 2005 6:52 pm
Location: Sudbury, Ontario, Canada

Re: Notepad mirror?

Post 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.
Last edited by Rumpy on Tue Jul 04, 2017 3:12 pm, edited 1 time in total.
PC:
Ryzen 5 3600
32GB RAM
2x1TB NVMe Drives
GTX 1660 Ti
User avatar
RunningMn9
Posts: 24461
Joined: Tue Oct 12, 2004 11:55 pm
Location: The Sword Coast
Contact:

Re: Notepad mirror?

Post by RunningMn9 »

Notepad++ is the bee's knees.
And in banks across the world
Christians, Moslems, Hindus, Jews
And every other race, creed, colour, tint or hue
Get down on their knees and pray
The raccoon and the groundhog neatly
Make up bags of change
But the monkey in the corner
Well he's slowly drifting out of range
User avatar
Isgrimnur
Posts: 82085
Joined: Sun Oct 15, 2006 12:29 am
Location: Chookity pok
Contact:

Re: Notepad mirror?

Post by Isgrimnur »

Especially with the Compare plugin when doing iterative development.
It's almost as if people are the problem.
User avatar
Jamesgoole
Posts: 6
Joined: Sat Sep 23, 2017 2:54 am

Notepad mirror

Post 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?
User avatar
Blackhawk
Posts: 43487
Joined: Tue Oct 12, 2004 9:48 pm
Location: Southwest Indiana

Re: Notepad mirror?

Post 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.
(˙pǝsɹǝʌǝɹ uǝǝq sɐɥ ʎʇıʌɐɹƃ ʃɐuosɹǝd ʎW)
User avatar
$iljanus
Forum Moderator
Posts: 13676
Joined: Wed Oct 13, 2004 3:46 pm
Location: New England...or under your bed

Re: Notepad mirror

Post 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.
Black lives matter!

Wise words of warning from Smoove B: Oh, how you all laughed when I warned you about the semen. Well, who's laughing now?
Post Reply