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 ! »

New version of Menu Editor , b2

- Complete separation from FavMenu
Now it can be use with or without it

- Several new options, and Setttings tab.
You can forget now about manual edit of _Config.ini
Habemus majkam!
User avatar
chandragor
Member
Member
Posts: 128
Joined: 2005-06-01, 10:10 UTC
Location: Italy

Post by *chandragor »

I saw that you use the command "ColapseOnMove".

Shouldn't it be "CollapseOnMove" (note the double L) ?

I'm 99% sure there should be 2 Ls, but I don't want to start a fight for an L.

Regards :P
Happy owner of license #12422 since 1997
User avatar
majkinetor !
Power Member
Power Member
Posts: 1580
Joined: 2006-01-18, 07:56 UTC
Contact:

Post by *majkinetor ! »

New version


Changes in v1.0

FavMenu
- New options in Setup dialog:
  * On/Off hotkey
  * Option to show editor at the end of the list and customizable editor
    This will make possible to use other editors, and double config enteries
    will not be visible when using TC directory menu, what would be a case
    if you set the editor as a last menu item normaly, by using launcher        command type.
  * Option to Show/Hide current TC folders
  * Option to Show/Hide "Add current dir" when TC is active.
  * Properties dialog has CTRL Left/Right shortuct to move around
  * 122 icons included in pack since 12x12 are little harder to find.

Now menu looks exactly the same as in TC. The only difference is "Remove current item" option but I disabled this for performance reasons

Menu Editor
  * Exit on ESC option added
  
It is still not finished but code is massively rewritten to support script merging: A new Autohotkey technique that I am currently designing to avoid starting multiple instances of Autohotkey while running number of different 3th party scripts. At the end you will be able to inlude both FavMenu and Menu Editor along with your usual scripts contained in AutoHotKey.ini in simple manner.


What to expect in 2.0:
- Currently "add current dir" item works only if TC is active but in future you will be able to use it in dialogs also.

- Support for "Browse for Files" standard dialogs

- Support for every window in the system



Download v1.0

Latest screenshot:
http://img166.imageshack.us/img166/957/screenshot9me.jpg
Last edited by majkinetor ! on 2006-06-29, 14:27 UTC, edited 1 time in total.
Habemus majkam!
User avatar
majkinetor !
Power Member
Power Member
Posts: 1580
Joined: 2006-01-18, 07:56 UTC
Contact:

Post by *majkinetor ! »

Very fast update this time

* Properties dialog now display notification in title bar on save, and
    notifies you if item is Submenu. You can not accidently delete first
    - characther. Also, you can set Titles for any item anything you like,
    including - at first position or --

* Menu Editor also allows - in titles as a first char

- Bugfix for "add current item" new option. Now it will offer dialog for the title, like TC
Habemus majkam!
User avatar
Sheepdog
Power Member
Power Member
Posts: 5150
Joined: 2003-12-18, 21:44 UTC
Location: Berlin, Germany
Contact:

Post by *Sheepdog »

Small bugs

* The caption in the setup should be "Appearance" instead of "Apperiance"
* If no "On/Off Hotkey" is set you get

---------------------------
_TC FavMenu.ahk
---------------------------
Error in #include file "D:\PROGRAMME\AutoHotkey\scritps\Tc FavMenu\TcFavMenu\GUI_Setup.ahk": "" is not a valid key name. The current thread will exit.

Code: Select all

	Line#
	129: Hotkey,%FavMenu_tcKey%,FavMenu_MenuHotKey,On
	132: Favmenu_Options_MenuPos := Setup_MenuPos
	133: FavMenu_Options_ShowEditor := Setup_cShowEditor
	134: FavMenu_Options_Editor := Setup_eEditor
	135: FavMenu_Options_ShowTCFolders := Setup_cShowTCFolders
	136: FavMenu_Options_OnOffKey := Setup_OnOffKey
	137: FavMenu_Options_ShowAddDirs := Setup_cShowAddDirs
--->	140: Hotkey,%Favmenu_Options_OnOffKey%,FavMenu_OnOffHotKey,On
	143: FavMenu_SaveConfigData()  
	144: Setup_Close()  
	145: }
	148: Setup_OnSaveClick()  
	149: Return
	154: {
	155: if (wparam = "27")  

---------------------------
OK   
---------------------------
If I choose Alt+Shift+w as ON/OFF Hotkey it isn't displayed properly because there is not enough room. In german it is:" Umschalt+Alt" what fills the whole box.

sheepdog
"A common mistake that people make when trying to design something
completely foolproof is to underestimate the ingenuity of complete fools."
Douglas Adams
User avatar
Sheepdog
Power Member
Power Member
Posts: 5150
Joined: 2003-12-18, 21:44 UTC
Location: Berlin, Germany
Contact:

Post by *Sheepdog »

Just a suggestion:

Could you display a different Icon in the tray to show if TCFavmenu is enabled or disabled?

Another little bug:

I set as ON/OFF Key Shift+Shiftlock.

I set here that the Shiftlock state is disabled by pressing Shift instead of pressing Shiftlock once again (in the Windows settings).

Now when TCFavMenu is running I can enable Shiftlock but I can't disable it anymore until I killed TCFavMenu.

sheepdog
"A common mistake that people make when trying to design something
completely foolproof is to underestimate the ingenuity of complete fools."
Douglas Adams
User avatar
majkinetor !
Power Member
Power Member
Posts: 1580
Joined: 2006-01-18, 07:56 UTC
Contact:

Post by *majkinetor ! »

thx SheepDog.


I will fix this
Habemus majkam!
User avatar
Flint
Power Member
Power Member
Posts: 3511
Joined: 2003-10-27, 09:25 UTC
Location: Belgrade, Serbia
Contact:

Post by *Flint »

Sorry for the long delay, I could not find time for testing...
Strange, but it does not work at all. Sleep call is not performed: I increased it to 2000, but there is absolutely no delay in working of FavMenu. I restarted FavMenu after this change - no difference.
This will work only when open/save dailog is active.
This function is called just to set the path to the dialog but it is never called if dialog is not active.
How can the dialog be active if your menu becomes active? :? At the moment of calling the menu - yes, the Open dialog is active, but then your menu appears and now it has the focus. After selecting some item, the Open dialog becomes active again, but Sleep does not work at all. (I tried the lates version downloaded from the first post of this thread.)
About clipboard:
To detect left and right panel I send to TC command to give them via clipboard. I save entire clipboard content before and restore it after. This works fine when no clipboard utility is there.
I have no clipboard utilities running.
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
 
Using TC 11.03 / Win10 x64
TealC
Junior Member
Junior Member
Posts: 96
Joined: 2005-08-10, 11:34 UTC

Post by *TealC »

i was just wondering:

is it possible / would it be much work, to include a hotkey, which calls the "new directory" function when dialog window is active?

because, in combination with the functionality already available, would be the perfect solution to completely use the dialogs with keyboard.
User avatar
majkinetor !
Power Member
Power Member
Posts: 1580
Joined: 2006-01-18, 07:56 UTC
Contact:

Post by *majkinetor ! »

How can the dialog be active if your menu becomes active? At the moment of calling the menu - yes, the Open dialog is active, but then your menu appears and now it has the focus. After selecting some item, the Open dialog becomes active again, but Sleep does not work at all. (I tried the lates version downloaded from the first post of this thread.)
When you select an item menu becomes hidden, witch makes Open/Save active again. You are doing something wrong, but I can't tell what. I will post you here test version with hard-coded hotkeys on several places for you. Tell me the hotkey you want to use (to disable the app)
I have no clipboard utilities running.
You have. FSClipboard.
This will produce failure: PrintScreen, use of FavMenu, visiting FSClipboard.

Don't use FavMenu in between. I reported the problem to the author but he think it is not his highest priority to resolve issues with 3td party tools that are not obviosly the fault of AHK. Don't know... Maybe I will investigate what is exactly the problem here. For now, you will have to leave with this.

2TealC
Not very much work, but not to little also.
I will add this to the wish-list but there are already more important features that need to be integrated, like support for "Browse for Folders" dialogs and "add current dir" in dialogs...
Habemus majkam!
User avatar
majkinetor !
Power Member
Power Member
Posts: 1580
Joined: 2006-01-18, 07:56 UTC
Contact:

Post by *majkinetor ! »

Hotkey it isn't displayed properly because there is not enough room. In german it is:" Umschalt+Alt" what fills the whole box.
Heh.. SheepDog... look at the last screen I posted. I use ALT + W for hotkey and it is not even past half the control.
So it will make standard hotkeys surrounded by a lot of empty space, so by solving one specific problem we are finishing with creating another.

I will try to add a tooltip.
Habemus majkam!
User avatar
Sheepdog
Power Member
Power Member
Posts: 5150
Joined: 2003-12-18, 21:44 UTC
Location: Berlin, Germany
Contact:

Post by *Sheepdog »

Here you can see two cases in German where you can't identify the hotkey.

Maybe you should shorten the geran strings.

"Umsch" and "Fest" should suffice as abbrevations for "Umschalt" and "Feststell".

Or maybe you could insert a linebreak after the 11th or 12th char.

Or you simply use the english terms "shift" and "shiftlock".

I don't know where you take the german captions from (I did not find them in the code). But I guess you read it somewhere from the OS - and that leads me to the assumtion that in ohter languages this problem also would occur. So I think it should be solved somehow.

sheepdog
"A common mistake that people make when trying to design something
completely foolproof is to underestimate the ingenuity of complete fools."
Douglas Adams
User avatar
Flint
Power Member
Power Member
Posts: 3511
Joined: 2003-10-27, 09:25 UTC
Location: Belgrade, Serbia
Contact:

Post by *Flint »

majkinetor !
When you select an item menu becomes hidden, witch makes Open/Save active again. You are doing something wrong, but I can't tell what. I will post you here test version with hard-coded hotkeys on several places for you. Tell me the hotkey you want to use (to disable the app)
I did not undersatand you... What are the "hard-coded hootkeys" you are talking about?
You have. FSClipboard.
This is not a tool but a plugin. It does not monitor changes of the clipboard, it just reads its contents.
I checked that in two ways: first, looked at the functions that this plugin uses (if it monitored the clipboard, it should use the ChangeClipboardChain function); and second - I restarted TC before the experiment to be sure that the plugin is unloaded at the moment I'm using FavMenu. But it crashed again even in this case.
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
 
Using TC 11.03 / Win10 x64
User avatar
majkinetor !
Power Member
Power Member
Posts: 1580
Joined: 2006-01-18, 07:56 UTC
Contact:

Post by *majkinetor ! »

I don't know where you take the german captions from
I didn't. Those are integrated hot key controls available in AutoHotKey.

Like I said, I will try to add a tooltip
Flint wrote:I did not undersatand you.
I was talking about hotkey for that language switching tool U are using. We already talk about mechanism to disable the tool before sending the path and to enable it afterwards. Just give me the key you want to use.
This is not a tool but a plugin
I didn't said anything about monitoring.
I told you that this is not my fault, I am using the mechanism to save clipboard and restore it described in AHK help file. Somewhere in that process something happens with the bitmpas on the clipboard. Strangly CLCL doesn't list them as a thumbnails, but it can still see them if I use its viewer.... I will see if I can do anything here.
Habemus majkam!
User avatar
majkinetor !
Power Member
Power Member
Posts: 1580
Joined: 2006-01-18, 07:56 UTC
Contact:

Post by *majkinetor ! »

2 Flint.

I just realised that I can possible fix clipboard behavior by finding current folders from the ini from the:

[left]
path=D:\Utils\_Scripts\autohotkey\TC\

[right]
path=D:\

instead of using cm_copysrctoclip command.

Can anybody tell me, are those lines always there ?
What will happen in some settings configurations, for instance, when user set that he wants to always start in the root. Are there any other options that can switch those lines off ?
Habemus majkam!
Post Reply