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
Sheepdog
Power Member
Power Member
Posts: 5150
Joined: 2003-12-18, 21:44 UTC
Location: Berlin, Germany
Contact:

Post by *Sheepdog »

Here occurs an error when I try to use the editor:

The changes are simply not saved.

I use the following paths:

D:\PROGRAMME\AutoHotkey\scritps\TcFavMenu\TcFavMenu\favorites\TOTALCMD.exe

D:\PROGRAMME\AutoHotkey\scritps\TcFavMenu\TcFavMenu\favorites\wincmd.ini

New entries are not saved as well as new icons.

I tried the version linked on the first page, or is it not the latest one?

sheepdog[/code]
"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 ! »

I don't know when you downloaded that version but that was already an issue. The latest version of Editor is 1.2 beta3.

If it is bug in latest version I will check it out. I don't know how that is possible (maybe some localisation problem again, since I don't use Unicode here).

Please let me know more info. I changed the Editor so you don't have to press ENTER every time you change an item, but only Save at the end. Try pressing several keys and tell me if anything is saved when you switch menu items back and forth. I just noticed that copy/paste will not save an item.
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 »

Okay, sorry for the false alert. It's been an configuration issue.

In one of your former versions you provided a compiled version of the editor 'editor.exe'. Thus I could copy the newest version again and again: in Appearance Tab the old version was selected and always called. The new beta works fine.

Sorry again. Sometimes I am really studip. (I read about the issue here and just wondered why it doesn't work for me :roll: )

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

Major update

Many new options for the same price.
Check out the first page and see readme again.

All suported dialogs and windows are screenshoted here:
http://img356.imageshack.us/img356/8493/dlgpreviewqo6.jpg
Habemus majkam!
TealC
Junior Member
Junior Member
Posts: 96
Joined: 2005-08-10, 11:34 UTC

Post by *TealC »

Great new features!

too bad they don't work :wink:

if i try to change the directory in a "browse for folder" dialog (these tree view things), i get the following error:

http://img19.imageshack.us/img19/8282/unbenanntvk2.jpg
User avatar
majkinetor !
Power Member
Power Member
Posts: 1580
Joined: 2006-01-18, 07:56 UTC
Contact:

Post by *majkinetor ! »

Thats why its beta... :)

System ?

That "RemoteBuf_-1_adr" error can mean 2 things:
1. Handles of tree view and its mother app are not obtained correctly
2. Data injection failed (to get the data from TV you have to enter the address space of another process, thats why we have RemoteBuffer error)


You will have to test with following application: GuiBox

Execute it from console with following options:

GuiBox /o dir (old BFF dialog)
GuiBox dir (new BFF dialog)

Then try the FavMenu in it and tell me does it work.
If not, you will have to send me the screenshot of those dialogs as you open them.

I tested this with Windows XP SP1 on several computers.
Habemus majkam!
TealC
Junior Member
Junior Member
Posts: 96
Joined: 2005-08-10, 11:34 UTC

Post by *TealC »

majkinetor ! wrote:Thats why its beta... :)

System ?
WinXP SP2 MultiLanguage
majkinetor ! wrote: That "RemoteBuf_-1_adr" error can mean 2 things:
2. Data injection failed (to get the data from TV you have to enter the address space of another process, thats why we have RemoteBuffer error)
That was the problem. I'm logged on to the computer and started favmenu as a normal user. The tree view window i wanted to control was started with administrator privileges. So the ahk process doesn't have the permissions to inject data into the adress space of another user. I guess this can't be solved that easy...
sadly, it also doesn't work if i run favmenu as admin and try to control treeview of the normal user.

But if this is too complicated to solve, let it be, because this constellation occurs very rarely.
majkinetor ! wrote: You will have to test with following application: GuiBox

Execute it from console with following options:

GuiBox /o dir (old BFF dialog)
GuiBox dir (new BFF dialog)

Then try the FavMenu in it and tell me does it work.
If not, you will have to send me the screenshot of those dialogs as you open them.

I tested this with Windows XP SP1 on several computers.
ahk exe and tree view of the same user works fine.

another question:

if i choose an unc path from favmenu while i'm in tree view, nothing happens. is it possible to use unc paths in tree view or not?
User avatar
majkinetor !
Power Member
Power Member
Posts: 1580
Joined: 2006-01-18, 07:56 UTC
Contact:

Post by *majkinetor ! »

I thought there will be problems with data injection like the one you described, but then, that is the only way I know to grab the data (I guess there is no other way, except to install some system service that would comunicate with favmenu, witch is, of course, overkill). The oposite situation (admin to user) is strange though... I will check this out, possible some option in OpenProcess API


Unc path are currently not supported, although the TV.ahk class I did to control external tree view doesn't depend on particular type of items in TV. It scans the hierarchy and return the path to it in file system notation. On AHK forum I posted examples for this... For instance, you can get or set virtual folders like: My Computer\Control Panel

I don't have time right now to work on this, but maybe in some future I will allow favmenu to take paths to virtual folders as well, and that can also be set to work in TC.

I am still upgrading Favmenu. Very soon you will have instantious switch in Explorer (now it is a littlebit slow).
Habemus majkam!
User avatar
majkinetor !
Power Member
Power Member
Posts: 1580
Joined: 2006-01-18, 07:56 UTC
Contact:

Post by *majkinetor ! »

V2.0 beta 3
- Windows Explorer speed enhacements (instantious folder switch)
- Enabled integration option for Windows explorer
- Fixed bug with menu items specified by environment variables

PS: Can anybody test with Windows 2000 ?
Habemus majkam!
User avatar
majkinetor !
Power Member
Power Member
Posts: 1580
Joined: 2006-01-18, 07:56 UTC
Contact:

Post by *majkinetor ! »

V2.0 beta 4
- Fixed bug with pseudoenvironments variables
- Interface changes in Setup dialog since now Windows Explorer can be set as a file manager (so people without TC can use it)

NOTES:
I did little changes to the code so WE can be used instead of TC. I did this to create larger testing ground since there are many people around not using TC that like FavMenu. People using TC will not experience any problems because of this. It is also possible to easily add another file managers (like DO) but somebody have to program several functions, since I don't use antyhing except TC.

Keep in mind that TC favmenu2 is still in beta stage and that I did massive code updates to support new dialogs (console, Explorer, Browse For Folder) so maybe I made errors on places that were working before (like with non-working pseudo/environment variables).

No more things to add.

This is almost everything I wanted to do with this application end except what is noted in TO DO list no more things will be added.
Habemus majkam!
djorge
Senior Member
Senior Member
Posts: 422
Joined: 2003-07-03, 12:48 UTC
Location: Portugal

Post by *djorge »

Hey mmajkinetor, i hope you didn't forgot the drag and drop feature! It is not hte TODO list.
______________________
David Jorge
Personal License #117854
User avatar
majkinetor !
Power Member
Power Member
Posts: 1580
Joined: 2006-01-18, 07:56 UTC
Contact:

Post by *majkinetor ! »

Yeah.. I forgot...

Good thing you remind me.
Habemus majkam!
User avatar
majkinetor !
Power Member
Power Member
Posts: 1580
Joined: 2006-01-18, 07:56 UTC
Contact:

Post by *majkinetor ! »

Djorge, when I think about this little more, I think there is no need for drag&drop in editors since you already have "add curent dir" witch works everywhere, and will be even faster.
Habemus majkam!
User avatar
gbo
Senior Member
Senior Member
Posts: 329
Joined: 2005-03-31, 19:58 UTC
Location: Lausanne (Switzerland)

Post by *gbo »

Hello,

I have a little request about add curent dir, it will be handy for me that after I press "add current dir", the script automatically call the menu editor and highlight the newly generated bookmark because I almost always want to sort it. This behaviour could/should be optional because I guess not everyone need it.

Thanks for considerated it Habemus majkam! :wink:
Gil
Licence #17346

90% of coding is debugging. The other 10% is writing bugs.
User avatar
majkinetor !
Power Member
Power Member
Posts: 1580
Joined: 2006-01-18, 07:56 UTC
Contact:

Post by *majkinetor ! »

I was thinking to add something like that but I give it up for some reason.
This sounds like a good option though... I will add this.


Thank you.
Habemus majkam!
Post Reply