FavMenu 2.0
Moderators: Hacker, petermad, Stefan2, white
- majkinetor !
- Power Member
- Posts: 1580
- Joined: 2006-01-18, 07:56 UTC
- Contact:
- chandragor
- Member
- Posts: 128
- Joined: 2005-06-01, 10:10 UTC
- Location: Italy
- majkinetor !
- Power Member
- Posts: 1580
- Joined: 2006-01-18, 07:56 UTC
- Contact:
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
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!
- majkinetor !
- Power Member
- Posts: 1580
- Joined: 2006-01-18, 07:56 UTC
- Contact:
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
* 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!
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.
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
* 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
---------------------------
sheepdog
"A common mistake that people make when trying to design something
completely foolproof is to underestimate the ingenuity of complete fools."
Douglas Adams
completely foolproof is to underestimate the ingenuity of complete fools."
Douglas Adams
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
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
completely foolproof is to underestimate the ingenuity of complete fools."
Douglas Adams
- majkinetor !
- Power Member
- Posts: 1580
- Joined: 2006-01-18, 07:56 UTC
- Contact:
Sorry for the long delay, I could not find time for testing...
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.)
How can the dialog be active if your menu becomes active?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.

I have no clipboard utilities running.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.
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:
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)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.)
You have. FSClipboard.I have no clipboard utilities running.
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!
- majkinetor !
- Power Member
- Posts: 1580
- Joined: 2006-01-18, 07:56 UTC
- Contact:
Heh.. SheepDog... look at the last screen I posted. I use ALT + W for hotkey and it is not even past half the control.Hotkey it isn't displayed properly because there is not enough room. In german it is:" Umschalt+Alt" what fills the whole box.
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!
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
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
completely foolproof is to underestimate the ingenuity of complete fools."
Douglas Adams
majkinetor !
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.
I did not undersatand you... What are the "hard-coded hootkeys" you are talking about?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)
This is not a tool but a plugin. It does not monitor changes of the clipboard, it just reads its contents.You have. FSClipboard.
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
Using TC 11.03 / Win10 x64
- majkinetor !
- Power Member
- Posts: 1580
- Joined: 2006-01-18, 07:56 UTC
- Contact:
I didn't. Those are integrated hot key controls available in AutoHotKey.I don't know where you take the german captions from
Like I said, I will try to add a tooltip
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.Flint wrote:I did not undersatand you.
I didn't said anything about monitoring.This is not a tool but a plugin
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!
- majkinetor !
- Power Member
- Posts: 1580
- Joined: 2006-01-18, 07:56 UTC
- Contact:
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 ?
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!