FavMenu 2.0
Moderators: Hacker, petermad, Stefan2, white
I have a suggestion: why not add Win key for hotkeys? It would be very convenient.
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
Using TC 11.03 / Win10 x64
Using TC 11.03 / Win10 x64
- majkinetor !
- Power Member
- Posts: 1580
- Joined: 2006-01-18, 07:56 UTC
- Contact:
2Flint
Hi Flint.
I see that you decided to give it a try.
>>why not add Win key for hotkeys?
This is autohotkey limitation of hotkey control I am using.
However, you can use WinKey + some other key to call the menu.
You need to edit this registry key:
\\\Registry\HKEY_CURRENT_USER\Software\Miodrag Milic\TcFavMenu\
The key is : tcKey
# is the symbol for WinKey and U can use any letter after it.
For Instance, set, #n to use WinKey + N as a hotkey. Currently it is not available to use single # as a hotkey. I may add this in the future if it doesn't slow down important parts of the program.
Hi Flint.
I see that you decided to give it a try.
>>why not add Win key for hotkeys?
This is autohotkey limitation of hotkey control I am using.
However, you can use WinKey + some other key to call the menu.
You need to edit this registry key:
\\\Registry\HKEY_CURRENT_USER\Software\Miodrag Milic\TcFavMenu\
The key is : tcKey
# is the symbol for WinKey and U can use any letter after it.
For Instance, set, #n to use WinKey + N as a hotkey. Currently it is not available to use single # as a hotkey. I may add this in the future if it doesn't slow down important parts of the program.
Habemus majkam!
Thanks, I'll try it!
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
Using TC 11.03 / Win10 x64
Using TC 11.03 / Win10 x64
- majkinetor !
- Power Member
- Posts: 1580
- Joined: 2006-01-18, 07:56 UTC
- Contact:
No-no, I meant together with other key. I use single Win key for calling the Start menu...You didn't tell me did you mean about using the single WinKey as a hotkey or together with some other key.
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
Using TC 11.03 / Win10 x64
Using TC 11.03 / Win10 x64
- majkinetor !
- Power Member
- Posts: 1580
- Joined: 2006-01-18, 07:56 UTC
- Contact:
Ok, I tested the Win+V key, it works fine. But I found some more problems.
1. I tried beta8 but could not use it: on pressing the hotkey this version switches me back to TC and only then shows the menu.
2. There is a problem with Punto Switcher. This program automatically detects typing in incorrect keyboard layout (e.g. typing Russian text when English layout is turned on), and corrects the already typed text. It works fine with normal words, but fails when one tries to enter some non-standard text like paths to programs it converts it into Russian and of course, the path becomes inconsistent. So, when I use the FavMenu in some program and the path selected is detected by PS, changing the folder just fails.
PS allows to turn itself off in certain programs (for example, I turned it off in TC), but FavMenu is not a usual program (it "integrates" into other applications as I suppose) and such disabling does not work (I checked that). Maybe, there is some other way of changing the path in the applications than simply typing it in the "File name" field? This problem makes FavMenu absolutely unusable for me...
1. I tried beta8 but could not use it: on pressing the hotkey this version switches me back to TC and only then shows the menu.
2. There is a problem with Punto Switcher. This program automatically detects typing in incorrect keyboard layout (e.g. typing Russian text when English layout is turned on), and corrects the already typed text. It works fine with normal words, but fails when one tries to enter some non-standard text like paths to programs it converts it into Russian and of course, the path becomes inconsistent. So, when I use the FavMenu in some program and the path selected is detected by PS, changing the folder just fails.
PS allows to turn itself off in certain programs (for example, I turned it off in TC), but FavMenu is not a usual program (it "integrates" into other applications as I suppose) and such disabling does not work (I checked that). Maybe, there is some other way of changing the path in the applications than simply typing it in the "File name" field? This problem makes FavMenu absolutely unusable for me...

Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
Using TC 11.03 / Win10 x64
Using TC 11.03 / Win10 x64
it should work, if you exclude either your autohotkey.exe (C:\Programme\AutoHotkey\AutoHotkey.exe for example), or if you use the compiled version of the favmenu, exclude the favmenu.exe (or however you named it).Flint wrote: PS allows to turn itself off in certain programs (for example, I turned it off in TC), but FavMenu is not a usual program (it "integrates" into other applications as I suppose) and such disabling does not work (I checked that).
I use compiled version. As I wrote above, I tried to exclude it but it did not help.it should work, if you exclude either your autohotkey.exe (C:\Programme\AutoHotkey\AutoHotkey.exe for example), or if you use the compiled version of the favmenu, exclude the favmenu.exe (or however you named it).
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
Using TC 11.03 / Win10 x64
Using TC 11.03 / Win10 x64
- majkinetor !
- Power Member
- Posts: 1580
- Joined: 2006-01-18, 07:56 UTC
- Contact:
!
No other way. This is the only one.Maybe, there is some other way of changing the path in the applications than simply typing it in the "File name" field?
This sounds interesting. How this program works ? How it detects Russian words. Via specialised dictionary ? Can it work with Serbian layout too ?There is a problem with Punto Switcher
If so, I will install application and try to do something with this interference.
But I don't understand why exclusion don't work. This is regular application once compiled.
I must say that Punto Switcher should take some steps to analyze string and to see if it contains valid path and to disable itself on such event.
I guess you can solve this by excluding standard Open/Save dialog boxes ?
Last solution: If PS have hotkey to disable itself, I can make special version for you that will disable PS before changing the dir and enable it after



In few words: We can do something if you are interested.
BTW: You can use plain Win hotkey by typing LWin | RWin
The only difference between beta8 and beta7 is support for Office 2003 dialogs. In all other circumstances the app behaves the same. I don't know how this behavior ocurs.... The menu is displayed on hotkey no other things are considered before item is clicked. I understand that TC is activated on hotkey press. This is impossible if so ... Please provide more information if you can.I tried beta8 but could not use it: on pressing the hotkey this version switches me back to TC and only then shows the menu
Habemus majkam!
majkinetor !

Unfortunately, contacting with the author is a large problem: the program is freezed and no more developed (at least, at the present time).
BTW, one more problem: does the program do anything with the Clipboard? When I have some picture in the Clipboard and use FavMenu, the plugin FSClipboard crashes on trying to copy the Clip file; though in the clipboard a normal image remains...
No, via characteristic combinations of letters. The program "knows" which letter sequences can be present in Russian but cannot in English and vice versa.How it detects Russian words. Via specialised dictionary ?
I'm not sure... Serbian belongs to Slavonic (if I'm not mistaken), as well as Russian, so it may work, but I'm not sure.Can it work with Serbian layout too ?
Unfortunately, I don't know internal algorithms of PS. Maybe, it looks in the exclusion list for the application where the typing occurs, not which is typing actually.But I don't understand why exclusion don't work. This is regular application once compiled.
Unfortunately, PS does not allow to exclude standard Open/Save dialogs, only byt application name and by window title. Of course, it's possible to specify "Open" and "Save" titles, but this will exclude automatically all windows containing these words (even Opera, if it's current page contains this word in its title). I tried, it works, but I can't use this approach unfortunately.I guess you can solve this by excluding standard Open/Save dialog boxes ?

Yes, there is a hotkey for that! (By default it is turned off, but it can be configured in the program settings; I selected Win+P hotkey).Last solution: If PS have hotkey to disable itself, I can make special version for you that will disable PS before changing the dir and enable it after That is cool If PS doesn't have a hotkey, then you can contatct the authors to create one, or we can even use AHK itself to make one
Unfortunately, contacting with the author is a large problem: the program is freezed and no more developed (at least, at the present time).

Maybe, it's because of using Win key. I wrote #V in the registry for Win+V. This bug is not regular. Just after I installed beta 8, I tested it in EmEditor Open window and got the bug with switching to TC. Now I'm testing again and again, and no such bug occurs. Strange...The only difference between beta8 and beta7 is support for Office 2003 dialogs. In all other circumstances the app behaves the same. I don't know how this behavior ocurs.... The menu is displayed on hotkey no other things are considered before item is clicked. I understand that TC is activated on hotkey press. This is impossible if so ... Please provide more information if you can.
BTW, one more problem: does the program do anything with the Clipboard? When I have some picture in the Clipboard and use FavMenu, the plugin FSClipboard crashes on trying to copy the Clip file; though in the clipboard a normal image remains...
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
Using TC 11.03 / Win10 x64
Using TC 11.03 / Win10 x64
- majkinetor !
- Power Member
- Posts: 1580
- Joined: 2006-01-18, 07:56 UTC
- Contact:
So it must have some dictionary: EnglishRussian->Russian.The program "knows" which letter sequences can be present in Russian but cannot in English
I wonder if I can change its current dict to EnglishSerbian->Serbian
I will made special config key for you and for others with similar problems. I already moved everything from Registry to Ini. So the new key will be named something like pre_post_send and you will be able to set it to Win V.
You can test that now if you want to see how this approaoch works:
1. Open dialogs.ahk
2. Find function SetDialogPath(path) (at the end of dialogs.ahk)
Add following commands (noted with --->)
Code: Select all
SetDialogPath(path)
{
global
local d_text, d_focused_ctrl
----> Send #P ; toggle (disable)
----> Sleep 50 ; just for the case, give PS time to finish its job
ControlGetFocus d_focused_ctrl,A
ControlGetText d_text, ,ahk_id %g_dlg_input%
Sleep 50
ControlFocus, , ahk_id %g_dlg_input%
Sleep 50
SendRaw %path%
Send {ENTER}
Sleep 100
ControlSetText, ,%d_text%, ahk_id %g_dlg_input%
if (!g_dlg_isOffice)
ControlFocus %d_focused_ctrl%, A
----> Send #P ; toggle it again (enable)
;
; some commented lines here
;
}
Very possible. I used ALT W before for myself, but then I notced that sometimes meny was inactive so I couldn't use up & down arrows to move around. I realised that is a hotkey problem: if you release ALT just one milisecond before releasing W current applications menu will be selected thus preventing FavMenu selection. The same may be true for Win key. If you don't use this key, like me, you can put LWin as shortcut. You will still have your RWin acting normally.Maybe, it's because of using Win key
Habemus majkam!
I don't know unfortunately... You can download the program here, if you wish to try: http://bunich.ru/ps/setup_ps29.exeSo it must have some dictionary: EnglishRussian->Russian.
I wonder if I can change its current dict to EnglishSerbian->Serbian
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.You can test that now if you want to see how this approaoch works:
No, I use both Win keys equally (depending on which of my hands is free nowIf you don't use this key, like me, you can put LWin as shortcut. You will still have your RWin acting normally.

Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
Using TC 11.03 / Win10 x64
Using TC 11.03 / Win10 x64
- majkinetor !
- Power Member
- Posts: 1580
- Joined: 2006-01-18, 07:56 UTC
- Contact:
This will work only when open/save dailog is active.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 function is called just to set the path to the dialog but it is never called if dialog is not active.
it is impossible not to work with active dialogs if you see that text is set into File Name field
--------
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 also problems with CLCL when bitmpas are in question. This is not my fault but some AutoHotKey and 3th party clipbard utility interference. I will report thi to the Chris, AHK developer. It is the same error I have with CLCL when it say that first item on clipboard is BITMAP but it doesn't display it in a menu as a thumbnail. Strangly enough, it displays it in a Viewer and I can save it, but any other program can't see it or crash. I will surely report this to AHK forum.
Habemus majkam!
- majkinetor !
- Power Member
- Posts: 1580
- Joined: 2006-01-18, 07:56 UTC
- Contact: