Amazon has whacked our affiliate account. Hosting Donations/Commitments $2063 of $1920 (Sept 13/18). In Hand $1466 (Lump sum payments minus paypal graft). Paypal Donation Link Here

Notepad mirror?

For general computer discussion & help, come here

Moderators: EvilHomer3k, Bakhtosh

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

Notepad mirror?

Post by Daehawk » Sat Jun 24, 2017 3:54 am

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.
GroovAtroN, stop asking
I guess Ray Butts has ate his last pancake.
http://steamcommunity.com/id/daehawk

User avatar
killbot737
Posts: 5621
Joined: Wed Mar 02, 2005 11:19 pm
Location: Next to America Jr.
Festivuus’s avatar
Loading…

Re: Notepad mirror?

Post by killbot737 » Sat Jun 24, 2017 8:38 am

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: 41519
Joined: Sat Jan 01, 2005 1:11 am

Re: Notepad mirror?

Post by Daehawk » Sat Jun 24, 2017 3:05 pm

Thank you...will give that a go once the list is organized.
---------------------------------------------
I am Dyslexic of Borg, prepare to have your ass laminated.
GroovAtroN, stop asking
I guess Ray Butts has ate his last pancake.
http://steamcommunity.com/id/daehawk

User avatar
Bad Demographic
Posts: 7670
Joined: Wed Oct 13, 2004 9:21 am
Location: Las Cruces, NM

Re: Notepad mirror?

Post by Bad Demographic » Mon Jul 03, 2017 5:24 pm

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
He who haha's last, haha's best. ~ Nelson Muntz
Books Read in 2012
Books Read in 2013
Books Read in 2014
Books Read in 2015

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

Re: Notepad mirror?

Post by Anonymous Bosch » Mon Jul 03, 2017 7:20 pm

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.
"Under democracy one party always devotes its chief energies to trying to prove that the other party is unfit to rule - and both commonly succeed, and are right." -- H. L. Mencken

User avatar
Daehawk
Posts: 41519
Joined: Sat Jan 01, 2005 1:11 am

Re: Notepad mirror?

Post by Daehawk » Tue Jul 04, 2017 5:05 am

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.
GroovAtroN, stop asking
I guess Ray Butts has ate his last pancake.
http://steamcommunity.com/id/daehawk

User avatar
Rumpy
Posts: 8062
Joined: Sun Mar 27, 2005 6:52 pm
Location: Sudbury, Ontario, Canada

Re: Notepad mirror?

Post by Rumpy » Tue Jul 04, 2017 1:22 pm

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:
Intel i5 660
8GB RAM
Asus ROG 4GB 1050Ti

User avatar
RunningMn9
Posts: 22868
Joined: Tue Oct 12, 2004 11:55 pm
Location: The Sword Coast
Contact:

Re: Notepad mirror?

Post by RunningMn9 » Tue Jul 04, 2017 1:27 pm

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: 57467
Joined: Sun Oct 15, 2006 12:29 am
Location: Dallas, TX
Contact:
Isgrimnur’s avatar
Offline

Re: Notepad mirror?

Post by Isgrimnur » Tue Jul 04, 2017 2:22 pm

Especially with the Compare plugin when doing iterative development.
Silver - 3k

People who are wrong often get mad at people who are right. (I have surprisingly never been shot.) (h/t Kevin Underhill, Lowering the Bar)

User avatar
Jamesgoole
Posts: 6
Joined: Sat Sep 23, 2017 2:54 am

Notepad mirror

Post by Jamesgoole » Sun Sep 24, 2017 2:41 pm

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: 25364
Joined: Tue Oct 12, 2004 9:48 pm
Location: Southwest Indiana
Contact:
Blackhawk’s avatar
Online

Re: Notepad mirror?

Post by Blackhawk » Sun Sep 24, 2017 6:53 pm

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.
[This space left intentionally blank.]

User avatar
$iljanus
Forum Moderator
Posts: 10354
Joined: Wed Oct 13, 2004 3:46 pm
Location: Under the bed...your bed...

Re: Notepad mirror

Post by $iljanus » Sun Sep 24, 2017 7:26 pm

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.
tl;dr

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