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

1. It doesn't have the same format. Params is added
2. TC Start menu should serve to hold apps that are used to work together with TC, at least it is my point. If you want a launcher you can create a submenu and add applications you use, of course, after I implement sheepdogs request.
Habemus majkam!
TealC
Junior Member
Junior Member
Posts: 96
Joined: 2005-08-10, 11:34 UTC

Post by *TealC »

majkinetor ! wrote: 2. TC Start menu should serve to hold apps that are used to work together with TC, at least it is my point. If you want a launcher you can create a submenu and add applications you use.
ok, thats a point. didn't think about that, because most of the applications in my starter menu are just normal applications, started with the commander_path variable for portability.
User avatar
hoppfrosch
Junior Member
Junior Member
Posts: 67
Joined: 2004-10-20, 05:39 UTC

Post by *hoppfrosch »

majkinetor ! wrote:Can you check if this problem ocurs with exe version ?
Yup ... error also occurs with exe :(
majkinetor ! wrote:Also, if PP has some exclusions set them for this app.

Which exclusions do you mean?
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6954
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Post by *Horst.Epp »

For using TC from an USB stick the plugin should store its settings in an ini file and not in the registry.
User avatar
majkinetor !
Power Member
Power Member
Posts: 1580
Joined: 2006-01-18, 07:56 UTC
Contact:

Post by *majkinetor ! »

Export your registry for now and import again. Also setup is so fast that you hardly need any speed up here.
Habemus majkam!
User avatar
roentgen
Power Member
Power Member
Posts: 757
Joined: 2005-12-03, 19:58 UTC

Post by *roentgen »

Hi
I've managed to discover a few more bugs (I'm getting pretty good at it :P)

The script does not detect MS Office 2003 Open/Save dialogs (tested with Excel and Word). Also after trying to use the script with Office everything opens in a new tab :shock:

Corel PhotoPaint (Corel X3) also has some kind of a problem: although most commands work, changing to %$PERSONAL% brings up TC instead

I don't know how do you detect dialogs, I didn't look to close at the code (I get scared easily :P) but here's my question: is there an easy way of adding detection for more non-standard Open/Save dialogs
TC for Linux please!
User avatar
majkinetor !
Power Member
Power Member
Posts: 1580
Joined: 2006-01-18, 07:56 UTC
Contact:

Post by *majkinetor ! »

Hi

I am using the SAME code that you can find in DM2 just translated to AHK. Since I am examing DM2 source code now, for me and the author plan to change it heavily it was obvious to use the code that is already prooven to work on most systems. To recognise non-standard dialog boxes would require database of settings for each or at least some kind of drop utility to remember its windows settings.... which, for now, is far more then I planed to do with this. This was planned to be little tool after all, and now it has about 1000 lines of code. It is very hard to debug AHK scripts when they grow so large because you don't have debuger, so growing applications usualy means more and more work. Its good thing that I designed everything to be object oriented like, so almost every part of the script is box for itself and doesn't interfere much with its environemnt (don't forget that I am newbee AHK programmer and that this is my first serious script)

MS Office 2003, doesn't use STANDARD commctrl32.dll dialog box. So, it doesn't work by design.

I have an idea. I can implement special hotkey that will send path no matter program is in (notepad, opera, explorer), so if the program is not standard, you can still send command to the output.

I may check out Corel PhotoPaint.
Habemus majkam!
User avatar
majkinetor !
Power Member
Power Member
Posts: 1580
Joined: 2006-01-18, 07:56 UTC
Contact:

Post by *majkinetor ! »

Also after trying to use the script with Office everything opens in a new tab
?
It works fine here. Any interfering applications ?
Habemus majkam!
TealC
Junior Member
Junior Member
Posts: 96
Joined: 2005-08-10, 11:34 UTC

Post by *TealC »

majkinetor ! wrote:(don't forget that I am newbee AHK programmer and that this is my first serious script)
quite sophisticated project though... good work!
majkinetor ! wrote: I have an idea. I can implement special hotkey that will send path no matter program is in (notepad, opera, explorer), so if the program is not standard, you can still send command to the output.
you also could put that bit of code back in, that detects dialog windows by window title (as in the early versions), so everyone could edit the script for his special programs, and be able to use the favmenu in all dialogs without having to remember where to hit return and where the "special hotkey"
User avatar
majkinetor !
Power Member
Power Member
Posts: 1580
Joined: 2006-01-18, 07:56 UTC
Contact:

Post by *majkinetor ! »

quite sophisticated project though... good work!
Thank you. I did my best.
you also could put that bit of code back
YES YES.. very good TealTc.
Habemus majkam!
lamamba
Junior Member
Junior Member
Posts: 2
Joined: 2006-06-13, 06:21 UTC

Post by *lamamba »

bug ?
menu is generated from right ini which is set in setup but TC start with default ini in Windows folder :(

no support for ftp ini ?
i think support parameters for totalcmd.exe would be nice:

C:\Program Files\totalcmd\TOTALCMD.EXE
/I=".\Profiles\lamamba\wincmd.ini" /F=".\Profiles\lamamba\wcx_ftp.ini"
User avatar
majkinetor !
Power Member
Power Member
Posts: 1580
Joined: 2006-01-18, 07:56 UTC
Contact:

Post by *majkinetor ! »

OK, now I realise what you are talking!

Its not a bug, it is problem with your system.

I just call TC, if it is set up to be run with ini located in Windows that is not my fault. You should do IniReloc instead /I= to move your wincmd.ini into Total Commander folder.

I may add parameters to launching of TC. I never use TC like this, so I didn't count this while designing application.

Support for ftp.ini ? Why should I support that ?

U can use this workaround for now:
Create batch file lets say c:\runTC.bat.
Put command line you would like into this batch. Start it to make sure TC is behaving the way you like. Put the path to the bat into Setup->TC Exe
You will have short pop-up of console window with this, but you can hide it by downloading my utility GuiBox and putting GuiBox /H0 as first line in batch.
Habemus majkam!
User avatar
majkinetor !
Power Member
Power Member
Posts: 1580
Joined: 2006-01-18, 07:56 UTC
Contact:

Post by *majkinetor ! »

2 all
For those that doesn't like to wait, here is beta6 with added ability to launch files. I still didn't implemented parameters, but you can use all kind of fancy (pseudo)environement varialbes, like if you have vars set like:

set w=c:\windows
set s= \system32
set n= \notepad.exe

You could use %w%%s%%n% in the menu command field. Also, there are more pseudovars then TC supported, so this will for instance work in FavMenu and not in TC:
%$WINDOWS%\system32\notepad.exe


LINK: http://www.r-moth.com/code/tcfavmenu1b6.zip
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 »

For those that doesn't like to wait, here is beta6 with added ability to launch files.
Good job, thanks. Works fine here.

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

New version available :beta 6

- added full support to "executables"
  Environement variables are supported.
  Psuedoenvironement varialbes are supported. Mixing is supported.
Command line parameters are supported

Examples
%$WINDOWS%\System32\Notepad.exe (TC doesn't support this pseudo)
%w%%s%%n% (where w=C:\windows, s=\system32, n=notepad.exe)
%UTILS%\Edit Plus\Editplus.exe "c:\boot.ini" "c:\1.txt"

I may add startup folder in trg wincmd.ini field since TC doesn't use this.
Habemus majkam!
Post Reply