editor with maximized window

English support forum

Moderators: white, Hacker, petermad, Stefan2

Post Reply
tommik
Junior Member
Junior Member
Posts: 2
Joined: 2023-03-10, 20:01 UTC

editor with maximized window

Post by *tommik »

Hi,

I am using Windows 10 64 bit and I have notepad.exe set as the editor (default).

I'd like to know how to set Total Commander so that it always opens the editor with window maximized. I really need this since I am always maximizing all the windows I open.

I know I can set this for internal viewer under its settings, but unfortunately, nothing like that is possible under editor. Even if I try to map to a notepad's shortcut that has the window set to maximize it still does not get maximized from Total Commander.


Are there any settings somewhere inside Total Commander or any switch for notepad itself that would work?

Thank you for your time!
User avatar
HerbieH
Member
Member
Posts: 145
Joined: 2003-02-11, 10:04 UTC

Re: editor with maximized window

Post by *HerbieH »

I use a program called 'SmartSystemMenu' by AlexanderPro.
It runs resident in the background and can do a lot of things with file and folders on your desktop f.eks 'Always on top' and 'Remember position and size'.
1) Place and size f.eks. 'Notepad' to your likings.
2) Click the upper left corner-icon of 'Notepad' and choose 'Save' in the bottom of the list.

The next time you open 'Notepad', it will be in the place and size it was, when you clicked 'Save'.
To change position and size FIRST unclick 'Save' - choose the new position - and then click 'Save' again.

The easiest way to get 'SmartSystemMenu' is here:
https://www.majorgeeks.com/files/details/smartsystemmenu.html
(Ps. The screenshots on Majorgeeks are outdated, and do not show all the functions, such as 'Save')

OBS: The program is not entirely stable, but it is often updated, and it doesn't make a mess of your desktop, if it fails :wink: .
HerbieH*
-Keep on makin' music!
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6449
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: editor with maximized window

Post by *Horst.Epp »

Why not making button for the editor you like instead of using TCs edit button.
You can even assign F4 to this button.
Then you have full control, the editor will store what you want and this is not controlled by TC.
Windows 11 Home x64 Version 23H2 (OS Build 22631.3374)
TC 11.03 x64 / x86
Everything 1.5.0.1371a (x64), Everything Toolbar 1.3.2, Listary Pro 6.3.0.69
QAP 11.6.3.2 x64
User avatar
nsp
Power Member
Power Member
Posts: 1803
Joined: 2005-12-04, 08:39 UTC
Location: Lyon (FRANCE)
Contact:

Re: editor with maximized window

Post by *nsp »

an ugly solution is to use start from cmd to launch maximized like the following button.

Code: Select all

TOTALCMD#BAR#DATA
cmd /c start /max c:\windows\notepad.exe
"%P%N"
notepad.exe



-1
Fla$her
Power Member
Power Member
Posts: 2244
Joined: 2020-01-18, 04:03 UTC

Re: editor with maximized window

Post by *Fla$her »

2nsp
And what's the point of this if the button or user command already have this option? :?
And why did you add quotes to %P%N?
Overquoting is evil! 👎
User avatar
Dalai
Power Member
Power Member
Posts: 9364
Joined: 2005-01-28, 22:17 UTC
Location: Meiningen (Südthüringen)

Re: editor with maximized window

Post by *Dalai »

Well, I suggest to use an advanced editor*. Many of them save their window sizes and states, e.g Notepad++.

*) To me, Notepad is more or less a concept study that shows only the most basic features. There are far better editors out there.

Regards
Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64

Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
User avatar
white
Power Member
Power Member
Posts: 4593
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Re: editor with maximized window

Post by *white »

tommik wrote: 2023-03-10, 20:08 UTC Even if I try to map to a notepad's shortcut that has the window set to maximize it still does not get maximized from Total Commander.
If you want to use a shortcut try it like this:

Code: Select all

rundll32 shell32.dll,ShellExec_RunDLL "d:\path\notepad.lnk" "%1"
tommik
Junior Member
Junior Member
Posts: 2
Joined: 2023-03-10, 20:01 UTC

Re: editor with maximized window

Post by *tommik »

white wrote: 2023-03-11, 00:33 UTC If you want to use a shortcut try it like this:

Code: Select all

rundll32 shell32.dll,ShellExec_RunDLL "d:\path\notepad.lnk" "%1"
Thanks mate. That worked! Now it is all maximized...
Post Reply