Total Commander Forum Index Total Commander
Forum - Public Discussion and Support
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Interpret buttonbar as menu
Goto page Previous  1, 2, 3, ... 16, 17, 18  Next
 
Post new topic   Reply to topic    Total Commander Forum Index -> Plugins and addons: devel.+support (English) Printable version
View previous topic :: View next topic  
Author Message
djk
Power Member
Power Member


Joined: 17 Mar 2003
Posts: 1651
Location: Poland

PostPosted: Thu Apr 17, 2003 7:59 am    Post subject: Reply with quote

VadiMGP wrote:

PS. Can somebody explain me why ftp link not allowed in URL tag?


Thanks for the plugin It's really nice Wink

I don't know why the URL doesn't work but if you use:
ftp://mgppublic:public@mgpsoft.com/
You can get to the folder from where you can download the file.

BTW: -$ works !!! Thanks.
_________________
DJK
Totally addicted to Total Commander
totalcmd.pl
en.totalcmd.pl
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Lefteous
Power Member
Power Member


Joined: 08 Feb 2003
Posts: 7671
Location: Germany

PostPosted: Thu Apr 17, 2003 9:05 am    Post subject: Reply with quote

suggestion:

environment variables should be supported
Back to top
View user's profile Send private message Send e-mail Visit poster's website
VadiMGP
Power Member
Power Member


Joined: 05 Apr 2003
Posts: 651
Location: Israel

PostPosted: Thu Apr 17, 2003 9:24 am    Post subject: Reply with quote

2Lefteous
Quote:
environment variables should be supported

Hmm... Interesting idea... But how i should expand string "%p%Lib%f"? As TC parameters %p %L %f or TC parameter %p and %Lib% environment variable?
Back to top
View user's profile Send private message
Pradera
Junior Member
Junior Member


Joined: 10 Apr 2003
Posts: 25

PostPosted: Thu Apr 17, 2003 2:16 pm    Post subject: Reply with quote

VadiMGP wrote:

Quote:
Too bad the functionality is limited - editing bars and easier adding new items would be nice. But I understand this is just an example of what fully functional pull-down bars should look like if (when) Christian adds them officialy. I do hope so, it's a great idea.

Because i used standard TC button bar you can use TC's configuration dialog. I don't see reason to implement the same functionality again.


But you can't add new items just by dragging and dropping them on your menu (or can you?). Also, what about launching files by dragging them on items on the buttonbar (like launching video file via player, etc.)? Okay, I'm just picky. This is really a great addon, one of those 'see what my Total Commander can do!' kind of thing :)
Back to top
View user's profile Send private message Visit poster's website
oblomov
Junior Member
Junior Member


Joined: 04 Apr 2003
Posts: 98

PostPosted: Thu Apr 17, 2003 4:40 pm    Post subject: Re: Interpret buttonbar as menu Reply with quote

Valentino wrote:
VadiMGP wrote:
A long time ago I suggested the following improvement to TC buttonbar: instead of switching to subbar assigned to button just display it as menu.
Not bad idea but IMHO it would be better to show this menu in context menu (that pops up when right-clicking on a button).


Even better idea (while we're brainstorming ...): buttons that link to sub-bars could have this behaviour: clicking on them would call the sub-bar as it happens currently; long clicks would pop a menu as suggested by VadiMGP; IOW the behaviour could be similar to that of the "back" button in some modern browsers (click -> back; long click -> history of visited sites).
Back to top
View user's profile Send private message
franck8244
Power Member
Power Member


Joined: 06 Mar 2003
Posts: 699
Location: Geneva...

PostPosted: Thu Apr 17, 2003 5:13 pm    Post subject: Reply with quote

2VadiMGP:

I tried your plugin, it's a great tool...
but when i click on the associate button to open the "sub_bar" i've got differents delay (0.5s to 2s) before the bar appears.

If u have an idea on how to fix it let me know.

thanks again for this tool!!
Back to top
View user's profile Send private message Send e-mail AIM Address Yahoo Messenger MSN Messenger
djk
Power Member
Power Member


Joined: 17 Mar 2003
Posts: 1651
Location: Poland

PostPosted: Fri Apr 18, 2003 2:12 am    Post subject: Reply with quote

2<b>VadiMGP</b>

I've noticed two problems (correct me if I'm wrong):

1. While I'm inside the archive file in any panel and press the bar button to call the (wonderful Wink wcmenu.exe i get the error:
"This function cannot be used with packed file"
Is it necessary?

2. I cannot use in the bar buttons calling build-in TC commands like cm_FtpConnect. It's a pity.
_________________
DJK
Totally addicted to Total Commander
totalcmd.pl
en.totalcmd.pl
Back to top
View user's profile Send private message Send e-mail Visit poster's website
VadiMGP
Power Member
Power Member


Joined: 05 Apr 2003
Posts: 651
Location: Israel

PostPosted: Fri Apr 18, 2003 3:23 am    Post subject: Reply with quote

Pradera wrote:

But you can't add new items just by dragging and dropping them on your menu (or can you?).

Laughing Well, no problem, i'll add this functionality. Only thing you have to do is to be nimble enough to drug&drop item on menu before menu disappers. AFIK, if you click outside of popup menu Windows destroys it for less then 1 millisecond. Deal? Laughing
Back to top
View user's profile Send private message
VadiMGP
Power Member
Power Member


Joined: 05 Apr 2003
Posts: 651
Location: Israel

PostPosted: Fri Apr 18, 2003 4:00 am    Post subject: Reply with quote

Quote:
I cannot use in the bar buttons calling build-in TC commands like cm_FtpConnect.

May be you didn't put wcmenu.exe in the TC directory? Wcmenu looks for wincmd.inc file to execute internal TC commands.

Quote:
i've got differents delay (0.5s to 2s) before the bar appears.

2 s??? Shocked What processor, RAM and OS you use? I've got such delay on my old PII-300 64Mb computer.

Quote:
While I'm inside the archive file in any panel and press the bar button to call the (wonderful icon_wink.gif wcmenu.exe i get the error:
"This function cannot be used with packed file"

It is standard TC behavior when you start program with parameters.

Quote:
what about launching files by dragging them on items on the buttonbar (like launching video file via player, etc.)?

Quote:
buttons that link to sub-bars could have this behaviour: clicking on them would call the sub-bar as it happens currently; long clicks would pop a menu

Actually it is additional reasons to built this feature in TC. There is nothing to do in the external program.
Back to top
View user's profile Send private message
djk
Power Member
Power Member


Joined: 17 Mar 2003
Posts: 1651
Location: Poland

PostPosted: Fri Apr 18, 2003 4:20 am    Post subject: Reply with quote

Quote:
Quote:
I cannot use in the bar buttons calling build-in TC commands like cm_FtpConnect.

May be you didn't put wcmenu.exe in the TC directory? Wcmenu looks for wincmd.inc file to execute internal TC commands.


Well, If install only new version of TC there is NO wincmd.inc in TC directory, now it's called Totalcmd.inc.
If I copied the file to wincmd.inc - it works Wink. But you should change it, I think.
_________________
DJK
Totally addicted to Total Commander
totalcmd.pl
en.totalcmd.pl
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Pradera
Junior Member
Junior Member


Joined: 10 Apr 2003
Posts: 25

PostPosted: Fri Apr 18, 2003 9:59 am    Post subject: Reply with quote

VadiMGP wrote:
Pradera wrote:

But you can't add new items just by dragging and dropping them on your menu (or can you?).

:lol: Well, no problem, i'll add this functionality. Only thing you have to do is to be nimble enough to drug&drop item on menu before menu disappers. AFIK, if you click outside of popup menu Windows destroys it for less then 1 millisecond. Deal? :lol:


:) no, really, I think it can be done (I'm already thinking more of the implemented Christian's version, not necessarily your addon) - drag a file to toolbar icon, which would open a popup menu and, still holding LMB down, go down to a program you want to launch...

even easier: make it open a normal button bar when clicking with shift or ctrl pressed, instead of menu (or the other way round). This way all the editing/drag&drop functionality is remained.
Back to top
View user's profile Send private message Visit poster's website
Valentino
Power Member
Power Member


Joined: 06 Feb 2003
Posts: 665
Location: Ukraine

PostPosted: Fri Apr 18, 2003 1:31 pm    Post subject: Reply with quote

VadiMGP wrote:
PS. Can somebody explain me why ftp link not allowed in URL tag?
Seems that it's because of a name and a password in URL. Without them the link appears (but doesn't work).

VadiMGP wrote:
Valentino wrote:
Not bad idea but IMHO it would be better to show this menu in context menu (that pops up when right-clicking on a button).
Sorry, right click handled by TC itself.
Yes, it is Christian whom I had in mind.

VadiMGP wrote:
But how i should expand string "%p%Lib%f"? As TC parameters %p %L %f or TC parameter %p and %Lib% environment variable?
We can use %%windir%% or %%windir% for env. vars, for example...

oblomov wrote:
Even better idea (while we're brainstorming ...): ... long click ...
Yeah, I like this even better... Smile
Back to top
View user's profile Send private message Send e-mail
djk
Power Member
Power Member


Joined: 17 Mar 2003
Posts: 1651
Location: Poland

PostPosted: Fri Apr 18, 2003 9:09 pm    Post subject: Reply with quote

Another problem:
I've got several buttons used just to chage to my favourite directories.
The command is just eg.: "cd d:\mydocs\excel"
But i cannot use the buttons running them from wcmenu Sad
I get wcmenu error: "Cannot run cd d:\mydocs\excel" Sad
_________________
DJK
Totally addicted to Total Commander
totalcmd.pl
en.totalcmd.pl
Back to top
View user's profile Send private message Send e-mail Visit poster's website
VadiMGP
Power Member
Power Member


Joined: 05 Apr 2003
Posts: 651
Location: Israel

PostPosted: Sat Apr 19, 2003 3:23 am    Post subject: Reply with quote

Valentino wrote:
We can use %%windir%% or %%windir% for env. vars, for example...

Ok, I'll do it. But spaces in variables can cause problems in passing parameters! You have to experiment with qoutation marks. Smile
Back to top
View user's profile Send private message
VadiMGP
Power Member
Power Member


Joined: 05 Apr 2003
Posts: 651
Location: Israel

PostPosted: Sat Apr 19, 2003 3:31 am    Post subject: Reply with quote

djk wrote:
Another problem:
I've got several buttons used just to chage to my favourite directories.
The command is just eg.: "cd d:\mydocs\excel"
But i cannot use the buttons running them from wcmenu Sad
I get wcmenu error: "Cannot run cd d:\mydocs\excel" Sad

Sorry, it is true. You cannot use the CD command. But you can instead start TC with /o option. Not perfect replacement, but better then nothing.

PS. You also cannot use cm_List command with predefined filename.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Total Commander Forum Index -> Plugins and addons: devel.+support (English) All times are GMT - 6 Hours
Goto page Previous  1, 2, 3, ... 16, 17, 18  Next
Page 2 of 18

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Impressum: This site is maintained by Ghisler Software GmbH

Using phpBB © 2001-2005 phpBB Group