FavMenu 2.0

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
majkinetor !
Power Member
Power Member
Posts: 1580
Joined: 2006-01-18, 07:56 UTC
Contact:

Post by *majkinetor ! »

Have a nice holidays I think you deserve it
Well, thank you very much :)

Gbo, if you like the Directory Menu Editor you mention you can connect it with Favmenu instead my Editor via Tray->Setup->Apperiance. U will not have icon field, but then, U can set icons via Properties. Thats why I left this field since I am aware that people may like to use Editors they already use, like this one, or the one in Ultra Editors. I created my Editor for the sake of complitenes and to be keyboard oriented. It will definitely have some updates in the future, like eliminating ENTER to save changes.

For the favmenu feature see TODO list. I will add History soon, the first real dialog history in the world of such programs since all currently available doesn't do that correctly including DM2. Pending is also very important update for Browse for Folder dialogs, other most comonly found dialog in Windows.

I would very much like to find some workaround for problems in AHK while menu is displayed. This is AHK limitation: while menu is displayed your code stops running until it is closed. I catch CTRL ENTER for instace after menu is closed and code continues to run, since you still hold CTRL key when menu is closed so I can catch it.This is the reason I can't catch keys or mouse click in menu. I wrote to AHK author but nothing help here. AHK is not multithreading, that is the main problem. I wrote 30 page article to sugest why AHK author should think about developing this functionality and he agreed with me after all, but it turned out that this feature is very complicated to be implemented, especialy if you have zillion of other things on the wish list that can be done in several days... We will see. Some cool options will arraive in Favmenu as AHK grows as scripting language. For instance docking is on the AHK wish list. AFter it is implemented Quick Veiw script will have instantious dock to its hosts (TC or dialog). On the other side icons in menus are not on the wish list and implementing small icons in favmenu is API hack and is done only by Favmenu of all other scripts ever written. Some of them did implementation of small bitmaps in menus but never icons. I wish to have large icons in menus, but only future of AHK will tell if we are going to have that or no. That said, I got addicted to small icons now.. i think they are cute.
Habemus majkam!
User avatar
majkinetor !
Power Member
Power Member
Posts: 1580
Joined: 2006-01-18, 07:56 UTC
Contact:

Post by *majkinetor ! »

2TealC
I will check out when I come from vacation. No time now. My airplain goes tomorow early morning. It sound like bug is in Favmenu but I don't remember doing anything. Please post me your ini line that contains tcKey.
Habemus majkam!
TealC
Junior Member
Junior Member
Posts: 96
Joined: 2005-08-10, 11:34 UTC

Post by *TealC »

majkinetor ! wrote:2TealC
I will check out when I come from vacation. No time now. My airplain goes tomorow early morning. It sound like bug is in Favmenu but I don't remember doing anything. Please post me your ini line that contains tcKey.

Code: Select all

[TcFavMenu]
tcExe=d:\totalcmd\TotalCmd.exe
tcIni=d:\totalcmd\wincmd.ini
tcKey=¨
ShowEditor=0
Editor=Editor.exe
ShowTCFolders=1
MenuPos=2
OnOffKey=^+¨
ShowAddDirs=1
thx
TucknDar
Senior Member
Senior Member
Posts: 227
Joined: 2003-02-07, 09:44 UTC
Location: Oslo
Contact:

Post by *TucknDar »

Wow, great script! Along with Dialog Box Assistant, I think I've got all the necessary folders covered!
Thanks majkinetor!
license #76904
User avatar
majkinetor !
Power Member
Power Member
Posts: 1580
Joined: 2006-01-18, 07:56 UTC
Contact:

Post by *majkinetor ! »

thx tucknDar
Habemus majkam!
User avatar
majkinetor !
Power Member
Power Member
Posts: 1580
Joined: 2006-01-18, 07:56 UTC
Contact:

Post by *majkinetor ! »

next phase of addons
Habemus majkam!
User avatar
Stitscher
Power Member
Power Member
Posts: 1058
Joined: 2004-02-17, 12:34 UTC
Location: Hamburg, Germany

Post by *Stitscher »

Thx for this great addon, majki! :)

I'm looking forward to larger icons. As I saw in the wiki it is on your to-do list. :D
Hope to see them soon. ;)

Stitscher
User avatar
majkinetor !
Power Member
Power Member
Posts: 1580
Joined: 2006-01-18, 07:56 UTC
Contact:

Post by *majkinetor ! »

As soon as they are implemented in AutoHotKey.
It is on it high priority to-do list.
Habemus majkam!
User avatar
Stitscher
Power Member
Power Member
Posts: 1058
Joined: 2004-02-17, 12:34 UTC
Location: Hamburg, Germany

Post by *Stitscher »

Thanks for your reply.

BTW: I can't delete the path to an ico. Edit is working.
I have to edit the wincmd.ini "by hand" to delete the icon path.
Can anybody confirm.

Stitscher
User avatar
majkinetor !
Power Member
Power Member
Posts: 1580
Joined: 2006-01-18, 07:56 UTC
Contact:

Post by *majkinetor ! »

Will be fixed.
Habemus majkam!
User avatar
Stitscher
Power Member
Power Member
Posts: 1058
Joined: 2004-02-17, 12:34 UTC
Location: Hamburg, Germany

Post by *Stitscher »

Thanks.

Stitscher
User avatar
majkinetor !
Power Member
Power Member
Posts: 1580
Joined: 2006-01-18, 07:56 UTC
Contact:

Post by *majkinetor ! »

I updated Editor to fix this. You can re-download.

Thx for this report.
Habemus majkam!
User avatar
Stitscher
Power Member
Power Member
Posts: 1058
Joined: 2004-02-17, 12:34 UTC
Location: Hamburg, Germany

Post by *Stitscher »

Ok, thanks for fixing.
Works fine now. :)
User avatar
majkinetor !
Power Member
Power Member
Posts: 1580
Joined: 2006-01-18, 07:56 UTC
Contact:

Post by *majkinetor ! »

New version changes:

Console Support
If cmd.exe is active window selecting path from FavMenu will change the path in the command line. If you select executable from the menu, it will be typed on the command line and executed. This allows console commands and applications to be added to the FavMenu.
For instance, you can create menu item: [face=courier]dir /o /b | sort [/face]
Menu items pointing to console commands (not applications) are NOT compatibile with Total Commander. If you need to run original TC directory menu, you will not be able to execute them.

If you want to run executables with long file names in console, you must use quotes. This is not required for non-console usage.
Command line current line contents will be lost after calling the FavMenu item.

If you want to edit the line before posting it, you can use CTRL SHIFT ENTER (it will not erase current command line)

You can NOT run console commands from the system, only if console window is active. It is pretty pointless to run them from the system, since they are executed in the context of the current command line directory. The above command can be executed from the system by changing it to: [face=courier]cmd /K dir /o /b | sort[/face]


Left clicking the tray icon will bring up the FavMenu[face=verdana][/face]
Habemus majkam!
User avatar
majkinetor !
Power Member
Power Member
Posts: 1580
Joined: 2006-01-18, 07:56 UTC
Contact:

Post by *majkinetor ! »

I corrected another small bug in Editor after introducing per keypress save. It was dropping the last typed charachter and backspace key. Now it works fine. Please redownload if you use Editor.
Habemus majkam!
Post Reply