What new plugins would you like?

Discuss and announce Total Commander plugins, addons and other useful tools here, both their usage and their development.

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
Alextp
Power Member
Power Member
Posts: 2321
Joined: 2004-08-16, 22:35 UTC
Location: Russian Federation
Contact:

Post by *Alextp »

2eugensyl
I remember Dos Navigator very good. I used it in DOS times, in 94-96...

Well AHK script will help. There are gurus here like SanskritFritz, majkinetor etc.
User avatar
eugensyl
Power Member
Power Member
Posts: 564
Joined: 2004-06-03, 18:27 UTC
Location: România
Contact:

Post by *eugensyl »

Alextp wrote:2eugensyl
I remember Dos Navigator very good. I used it in DOS times, in 94-96...

Well AHK script will help. There are gurus here like SanskritFritz, majkinetor etc.
PLS...
I want to put into external command for use in menu.
Can somebody do that?
It would be great.


Thank you in advance!

Best wishes,
My Best Wishes,

Eugen
User avatar
Hacker
Moderator
Moderator
Posts: 13142
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Post by *Hacker »

Code: Select all

$^q::
	Run, notepad.exe c:\notebook.txt
	WinWaitActive, ahk_class Notepad
	SendInput, ^{End}`n`n----------------`n%A_YYYY%-%A_MM%-%A_DD% %A_Hour%:%A_Min%`n`n
Return

#IfWinActive, notebook.txt - Notepad ahk_class Notepad
Esc::Send, ^s!{F4}
HTH
Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
User avatar
fenix_productions
Power Member
Power Member
Posts: 1979
Joined: 2005-08-07, 13:23 UTC
Location: Poland
Contact:

Post by *fenix_productions »

"When we created the poke, we thought it would be cool to have a feature without any specific purpose." Facebook...

#128099
User avatar
eugensyl
Power Member
Power Member
Posts: 564
Joined: 2004-06-03, 18:27 UTC
Location: România
Contact:

Post by *eugensyl »

Hacker wrote:

Code: Select all

$^q::
	Run, notepad.exe c:\notebook.txt
	WinWaitActive, ahk_class Notepad
	SendInput, ^{End}`n`n----------------`n%A_YYYY%-%A_MM%-%A_DD% %A_Hour%:%A_Min%`n`n
Return

#IfWinActive, notebook.txt - Notepad ahk_class Notepad
Esc::Send, ^s!{F4}
HTH
Roman
Sorry! It doesn't work.
The file AHK was compiled with last AutoHotkey and it stay in tray.

Unfortunately, CTRL-Q is in use by default in TC ( Quick View) and I don't want to change this.
Maybe CTRL-ALT-Q or SHIFT-ALT-Q it will be better.

Thanks again.

Best wishes,
My Best Wishes,

Eugen
User avatar
eugensyl
Power Member
Power Member
Posts: 564
Joined: 2004-06-03, 18:27 UTC
Location: România
Contact:

Post by *eugensyl »

fenix_productions wrote:Or use it:
http://fenixproductions.republika.pl/tc/notebook.zip
WORKS WELL! EXCELENT!
And looks also so good.

But...
Now I have need two tools for same aim:
- one for writing (notebook)
- one for viewing (notepad or something else)

Please open file and let me navigate inside.
I know it's more comfortable to open in editor, with button bar, but I think it is more intuitive to use same application.
It's no need to use two. Or maybe a check box SHOW/HIDE previous message.

About shortcuts see above.

Thank you too! :lol:


Best wishes,
My Best Wishes,

Eugen
User avatar
Hacker
Moderator
Moderator
Posts: 13142
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Post by *Hacker »

eugensyl,
Sorry! It doesn't work.
What exactly does not work?
Unfortunately, CTRL-Q is in use by default in TC ( Quick View) and I don't want to change this.
Maybe CTRL-ALT-Q or SHIFT-ALT-Q it will be better.
Well, you said Ctrl-Q. :)
Ctrl-Alt-Q - replace first line with:

Code: Select all

$^!q::
Alt-Shift-Q - replace first line with:

Code: Select all

$!+q::

HTH
Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
User avatar
ZoSTeR
Power Member
Power Member
Posts: 1050
Joined: 2004-07-29, 11:00 UTC

Post by *ZoSTeR »

Internal command:

Code: Select all

cmd /c echo %date% %time% >> c:\Notebook.txt && Notepad2.exe c:\Notebook.txt
For Save on ESC you need something like NotePad2 or NotePad++
User avatar
eugensyl
Power Member
Power Member
Posts: 564
Joined: 2004-06-03, 18:27 UTC
Location: România
Contact:

Post by *eugensyl »

Hacker wrote:eugensyl,
Sorry! It doesn't work.
What exactly does not work?

HTH
Roman
Now it's work. Nice!

Let's doing better:
- Program is stand alone and stay in tray - no so bad - but must be started before first use
Question: how can I use in language.ini like external command even in menu even with shortcuts?
- Notepad don't exit with ESC with save default
- Sometimes window still minimized on start and I must found mouse and pointer and so on.

But the job is well. Thanks! I try to improve my self this.

Please don't be angry with me... :roll:

Best wishes,
My Best Wishes,

Eugen
User avatar
fenix_productions
Power Member
Power Member
Posts: 1979
Joined: 2005-08-07, 13:23 UTC
Location: Poland
Contact:

Post by *fenix_productions »

eugensyl wrote: - Notepad don't exit with ESC with save default
Metapad does.
"When we created the poke, we thought it would be cool to have a feature without any specific purpose." Facebook...

#128099
User avatar
eugensyl
Power Member
Power Member
Posts: 564
Joined: 2004-06-03, 18:27 UTC
Location: România
Contact:

Post by *eugensyl »

Ctrl-Alt-Q - replace first line with:

Code: Select all

$^!q::
Alt-Shift-Q - replace first line with:

Code: Select all

$!+q::
Now it' work fine. Everybody can test this

$^!q::
Run, Notepad.exe c:\notebook.txt
WinWaitActive, ahk_class Notepad
SendInput, ^{End}`n`n%A_YYYY%-%A_MM%-%A_DD% %A_Hour%:%A_Min%`n----------------`n`n
Return

#IfWinActive, notebook - Notepad ahk_class Notepad
Esc::Send, ^s!{F4}

Compile first! If remake keep attention to case sensitive of windows title.

Work with any Notepad !!!
And, after the program it's start it's AVAILABLE WIDELY!

In this variant shortcuts is CTRL-ALT-Q.

Compiled variant can be external command for TC.

AHK - Is a good job!


Thank you to all who was involved.


Best wishes,
My Best Wishes,

Eugen
User avatar
eugensyl
Power Member
Power Member
Posts: 564
Joined: 2004-06-03, 18:27 UTC
Location: România
Contact:

Post by *eugensyl »

ZoSTeR wrote:Internal command:

Code: Select all

cmd /c echo %date% %time% >> c:\Notebook.txt && Notepad2.exe c:\Notebook.txt
For Save on ESC you need something like NotePad2 or NotePad++
Good tips! Very good. But not enough for that purpose, because ESC not save default file. Neither Metapad.

Thanks!

Best wishes,
My Best Wishes,

Eugen
User avatar
Hacker
Moderator
Moderator
Posts: 13142
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Post by *Hacker »

eugensyl,
- Program is stand alone and stay in tray - no so bad - but must be started before first use
Well, run at startup. :)
how can I use in language.ini like external command even in menu even with shortcuts?
I am sorry, I do not understand the question.
- Notepad don't exit with ESC with save default
I don't understand - are you saying that notepad when opened with another file than notebook.txt does not save and close with Esc? In that case, change the line

Code: Select all

#IfWinActive, notebook.txt - Notepad ahk_class Notepad
to

Code: Select all

#IfWinActive, ahk_class Notepad
- Sometimes window still minimized on start and I must found mouse and pointer and so on.
Strange. Replace

Code: Select all

WinWaitActive, ahk_class Notepad
with

Code: Select all

WinWait, ahk_class Notepad
WinActivate, ahk_class Notepad
WinWaitActive, ahk_class Notepad
HTH
Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
User avatar
eugensyl
Power Member
Power Member
Posts: 564
Joined: 2004-06-03, 18:27 UTC
Location: România
Contact:

Post by *eugensyl »

Hacker wrote:eugensyl,
- Program is stand alone and stay in tray - no so bad - but must be started before first use
Well, run at startup. :)
how can I use in language.ini like external command even in menu even with shortcuts?
I am sorry, I do not understand the question.
- Notepad don't exit with ESC with save default
I don't understand - are you saying that notepad when opened with another file than notebook.txt does not save and close with Esc? In that case, change the line

Code: Select all

#IfWinActive, notebook.txt - Notepad ahk_class Notepad
to

Code: Select all

#IfWinActive, ahk_class Notepad
- Sometimes window still minimized on start and I must found mouse and pointer and so on.
Strange. Replace

Code: Select all

WinWaitActive, ahk_class Notepad
with

Code: Select all

WinWait, ahk_class Notepad
WinActivate, ahk_class Notepad
WinWaitActive, ahk_class Notepad
HTH
Roman
Thanks a lot!

Best wishes,
My Best Wishes,

Eugen
User avatar
eugensyl
Power Member
Power Member
Posts: 564
Joined: 2004-06-03, 18:27 UTC
Location: România
Contact:

Post by *eugensyl »

Hacker wrote:eugensyl,
HTH
Roman[/quote]

Watch what is done:
http://www.cjbihor.ro/tc/notebook.rar

DESCRIPTION:
===================================================
[English]

The agenda is available from anywhere in Windows.
Run Notebook.exe / Put shortcut in StartUp - first!

Start it with: Ctrl-Q
Quick Save and Exit: ESCAPE

-------------
Note:
- You can save file any time anywhere
- You can delete anything in file
- You can delete file. A new one will be created.
- File is stored in personal TEMP directory
==================================================

Thanks Hacker!
Well done, more than I expect.

Script is above, made by Hacker.


Best wishes,
My Best Wishes,

Eugen
Post Reply