F4Menu for all v0.58

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
tosbsas
Senior Member
Senior Member
Posts: 428
Joined: 2003-12-19, 13:12 UTC
Location: Lima, Perú
Contact:

Post by *tosbsas »

Shanny wrote:
tosbsas wrote:will you look at the problem

I have set f4menu as it should be set (internal viewer) but now, when I want to use the plugin configure feature in pluginmanager I get an error

Ruben
please wait for the next version, f4menu will be stand-alone and can support it.
any news here??

Ruben
A New Generation transformed by the Power of God
sybariten
Junior Member
Junior Member
Posts: 79
Joined: 2003-05-29, 17:31 UTC

Post by *sybariten »

sybariten wrote: A question for you, or anyone else on this forum: is it possible to let F4menu point to a relative path instead of an absolute?
bump ... from some posts above....
User avatar
petermad
Power Member
Power Member
Posts: 16101
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

2sybariten

Yes - you can use both environment variables ( %programfiles%\yourdir\yourapp.exe ) or relative paths ( \progra~1\yourdir\yourapp.exe ) - but NOT paths that needs quotation marks ( "\program files\yourdir\yourapp.exe" ).

But why didn't you just try that yourself :?:
License #524 (1994)
Danish Total Commander Translator
TC 11.55rc4 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1393a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
tosbsas
Senior Member
Senior Member
Posts: 428
Joined: 2003-12-19, 13:12 UTC
Location: Lima, Perú
Contact:

Post by *tosbsas »

@shanny
any news on that f4 behaviour?

Ruben
A New Generation transformed by the Power of God
sybariten
Junior Member
Junior Member
Posts: 79
Joined: 2003-05-29, 17:31 UTC

Post by *sybariten »

petermad wrote: Yes - you can use both environment variables ( %programfiles%\yourdir\yourapp.exe )
Hm, that will not be of much help i think. As far as i can see, %programfiles% is a built-in variable that will, typically, point to C:\Program Files
I keep the main part of my programs in C:\portable or, on USBmemories: F:\portable, G:\portable, etc etc

So my "editor for F4" now, for instance, is
C:\portable\totalcmd\F4menu.exe

and then in F4menu, wmv files for instance are handled by
C:\portable\mplayer\mplayer.exe

And its the C:\ there i would like to keep "open", since the base letter for my devices can vary a bit.
petermad wrote: or relative paths ( \progra~1\yourdir\yourapp.exe )
I guess what i need to have is a relative path that points "to the parent dir", and then into a specific dir...
petermad wrote: But why didn't you just try that yourself :?:
Well, i dont know much about Windows syntax for these things.
icfu
Power Member
Power Member
Posts: 6052
Joined: 2003-09-10, 18:33 UTC

Post by *icfu »

%COMMANDER_DRIVE% variable points to the partition which is running TC.
%COMMANDER_PATH% points to the directory with the current TC instance.

Parent directories are referenced like that, watch the SINGLE dot in front which points to the current (working) directory:
.\..\bla\notepad.exe <=

That single dot can also be replaced with another directory, like that:
%COMMANDER_PATH%\..\bla\notepad.exe

This all works in F4Menu...
but NOT paths that needs quotation marks ( "\program files\yourdir\yourapp.exe" ).
You don't need quotes, just make sure that you are calculating the path from the correct starting directory when using relative paths, which is TCMenu dir, and don't forget the dot in front...

Icfu
This account is for sale
sybariten
Junior Member
Junior Member
Posts: 79
Joined: 2003-05-29, 17:31 UTC

Post by *sybariten »

icfu wrote:%COMMANDER_DRIVE% variable points to the partition which is running TC.
Thank you!! Just what i needed.
icfu wrote: Parent directories are referenced like that, watch the SINGLE dot in front which points to the current (working) directory:
.\..\bla\notepad.exe <=
Uhm, ok, whats the logic of the single dot? Isnt it enough to just use two dots to refer to the parent?
icfu
Power Member
Power Member
Posts: 6052
Joined: 2003-09-10, 18:33 UTC

Post by *icfu »

It is, but it helps to understand the logic which I explained below, when you replace the dot with some other path.

Icfu
This account is for sale
sybariten
Junior Member
Junior Member
Posts: 79
Joined: 2003-05-29, 17:31 UTC

Post by *sybariten »

I like this addon, it is more flexible than Choiceeditor which i used before. However there's one point where Choiceeditor is superior to F4menu, and thats when i select multiple files. I often use F4 together with mplayer to watch videos, and Choiceeditor opens them in sequel whereas F4menu opens them in parallell, all at once. Which isnt very practical with videos.

I'm sure this is just a case of me missing some configuration, but i haven't found where to change this.
User avatar
dott
Senior Member
Senior Member
Posts: 285
Joined: 2007-03-04, 00:58 UTC
Location: La Plata, Argentina

Post by *dott »

Modify→Open Mode→1 - Open all as a list

Image: http://img518.imageshack.us/img518/3884/mplayer2wo3.png
sybariten
Junior Member
Junior Member
Posts: 79
Joined: 2003-05-29, 17:31 UTC

Post by *sybariten »

THANK YOU!
Makes a whole lot difference in use. Can't believe i missed that setting BTW.
User avatar
Shanny
Member
Member
Posts: 177
Joined: 2003-02-24, 08:38 UTC

Post by *Shanny »

Hi, all
I really apologize for the long long long time of silence.
Thanks to all of you! you here just make this insignificant tool seems usable.
I'll release the new version soon, maybe today, or tomorrow, no long need long time wait this time.

Sorry & Thanks to all.
TCEE, TCPP, F4Menu -- Shanny
User avatar
Shanny
Member
Member
Posts: 177
Joined: 2003-02-24, 08:38 UTC

Post by *Shanny »

F4Menu for all v0.20rc1 has been released!

Download: http://www.shanny.com.cn/f4menu

[2009-05-25 v0.20 rc1]
+ Not restricted to TC use only, can used by any application, such as explorer
+ Support space-separated filenames as parameter
+ Double press F4 to open files with default editor (thanks to xuanqing@newsmth)
+ Press Caps+F4 to launch will not change CapsLock status
! Throughly solve "Cannot find file in Dir" issue
! Incompatible with Shift+F4 function of TC 7.50 (thanks to ehab@tc, matt123@newsmth)
! Double press F4 in TC may open file twice
TCEE, TCPP, F4Menu -- Shanny
User avatar
byblo
Senior Member
Senior Member
Posts: 270
Joined: 2005-02-20, 21:13 UTC
Contact:

Post by *byblo »

Glad to see you again :)
User avatar
byblo
Senior Member
Senior Member
Posts: 270
Joined: 2005-02-20, 21:13 UTC
Contact:

Post by *byblo »

It seems something have broken.
I cannot open anymore by using the option "1 - Open all files as a list", since the editor receive an incorrect path (his own path), which finishing with a chinese symbol followed by a "3" character.
Post Reply