Topic: Notepad tweaks  (Read 2190 times)

0 Members and 1 Guest are viewing this topic.

Notepad tweaks
« on: October 15, 2015, 02:44:43 AM »

Tony4219

  • Chef
  • ***
  • Date Registered: Mar 2015
  • Posts: 134
This is an addon to the Notepad2 script (based on 9/11/15 build. I have not started with 10/14 build yet :sad:)

Place this in Components, so it runs immediately after the Notepad2 script. It allows you to easily add your own Settings INI, without having to unzip, store, and rezip the Notepad2 source files.  Run Notpad2, adjust screen position, fonts, whatever, etc. Then use the Notepad2 SAVE NOW settings. The current settings get stored in Notepad2.ini, but you lose the new settings because Notepad2 runs from X:

There is an optional startmenu item to save your current Notepad2.ini to the root of your usbstick (Y:\).  Place this in the Attachments folder.

Re: Notepad tweaks
« Reply #1 on: October 15, 2015, 02:51:52 AM »

Tony4219

  • Chef
  • ***
  • Date Registered: Mar 2015
  • Posts: 134
here it is.

(Cannot see how to edit previous post, so I just replied to it instead)     :embarrassed:







10/24/15 update: your own personal INI for notepad2 is now built into the  main NotePad.script v38
« Last Edit: October 24, 2015, 03:41:41 AM by Tony4219 »

Re: Notepad tweaks
« Reply #2 on: October 24, 2015, 02:53:20 AM »

Lancelot

  • Gena Baker
  • Grand Chef
  • *****
  • Date Registered: Sep 2010
  • Posts: 7371
Hi Tony4219,

added "Add Personal Notepad2.ini" option to Notepad plugin,
on servers..

Tip:
After boot, on cmd screen:
Code: [Select]
Explorer.exe %AppData%

will get you Notepad2.ini location ;)

+
I believe now anyone can easily use personal Notepad2.ini ;)

:turtle:
« Last Edit: October 24, 2015, 02:53:45 AM by Lancelot »

Re: Notepad tweaks
« Reply #3 on: October 24, 2015, 03:39:48 AM »

Tony4219

  • Chef
  • ***
  • Date Registered: Mar 2015
  • Posts: 134
Kewl!  I didn't want to change the original, and needed a way to save new INI files.


Thanks! :thumbsup:

Re: Notepad tweaks
« Reply #4 on: November 28, 2016, 06:24:40 PM »

Prz42

  • Code Baker
  • Chef
  • ***
  • Date Registered: Jan 2014
  • Posts: 431
Hi Lancelot,

Wondering if you could incorporate this add to the project.
Small add and I know you put a way to use custom notepad2.ini.

(Added No Warn for opening large file size)

« Last Edit: November 29, 2016, 02:12:12 PM by Prz42 »

Re: Notepad tweaks
« Reply #5 on: November 29, 2016, 09:45:12 AM »

Lancelot

  • Gena Baker
  • Grand Chef
  • *****
  • Date Registered: Sep 2010
  • Posts: 7371
Hi Prz42,

Wondering if you could incorporate this add to the project.
(Added No Warn for opening large file size)
Thanks  :thumbsup:

Added new plugin to server with your "No Warn for opening large file size"   :thumbsup:


ps:
fixed line position and wrong line
If,%pCheckBoxNo_WarningIniWrite%,Equal,True,%,Equal,True,Begin
is incorrect syntax........
reorganize checkbox name etc.

Tip:
just click yellow "Compare" button at v44 of Notepad2 plugin, you will see changes made  :thumbsup:


**
I did not test real (low free time), let us know if all ok.

:turtle:

Re: Notepad tweaks
« Reply #6 on: November 29, 2016, 02:12:53 PM »

Prz42

  • Code Baker
  • Chef
  • ***
  • Date Registered: Jan 2014
  • Posts: 431
Thanks Lancelot,


Re: Notepad tweaks
« Reply #7 on: December 14, 2016, 06:35:47 AM »

ied206

  • Chef
  • ***
  • Location: South Korea
  • Date Registered: Dec 2013
  • Posts: 129
I found out recent version (v45) of notepad plugin contains bug.
It tries to call PCopy_notepadexeMui section which does not exist.

Code: [Select]
If,%TargetWin_CheckBox%,Equal,True,Begin
If,Not,ExistFile,%Target_Win%\notepad.exe,Begin
If,%OSFamily%,Equal,NT6,Run,%ScriptFile%,PCopy_notepadexeMui
If,%OSFamily%,Equal,NT6,Call,FileCopyMUI-Source,%Source_Sys%\notepad.exe,%Target_Win%
If,%OSFamily%,Equal,NT5,CopyOrExpand,%Source_Sys%\notepad.exe,%Target_Win%
End
End

As a result, it emittes error.
This line should be removed or PCopy_notepadexeMui section must be implemented.

(I tried removing that line, and it works well, however)

Re: Notepad tweaks
« Reply #8 on: December 14, 2016, 07:42:45 AM »

ChrisR

  • Moderator, Win7PE SE Baker
  • Grand Chef
  • *****
  • Date Registered: Mar 2011
  • Posts: 2911
Following a previous change: Call,FileCopyMUI-Source
It seems, call PCopy_notepadexeMui was forgotten to be removed.
It is done now.
You have good eyes, thanks  :thumbsup:

Re: Notepad tweaks
« Reply #9 on: December 16, 2016, 10:11:44 PM »

Lancelot

  • Gena Baker
  • Grand Chef
  • *****
  • Date Registered: Sep 2010
  • Posts: 7371
Thanks for feedback ied206  :thumbsup:


Previously I could not get proper feedback on notepad during updates, my fault.... :embarrassed:
Quote
I did not test real (low free time), let us know if all ok.

Thanks Lancelot,

Life :turtle:

 

Powered by EzPortal