Page 1 of 1

[REQ] Automatic plugins path replace

Posted: 2008-11-10, 12:36 UTC
by fenix_productions
Hi all.

I hope it's not too late ;)

When I am adding some plugins to my TC I have to always remember about replacing their paths with %COMMANDER_PATH% variable (or start PlugMan) each time.

Wouldn't it be better if TC could do that automatically if plug is in it's subdirectory?

Of course it should be configurable and work for button bar's application too.

Posted: 2008-11-10, 13:48 UTC
by Sombra
Hello fenix_productions,
If I understood correctly :roll: ....

Can't help this?

Code: Select all

[Configuration]
pluginbasedir=%COMMANDER_PATH%\Plugins
Regards.

Posted: 2008-11-10, 14:30 UTC
by sqa_wizard
2Sombra: Yes, I'm using this too :)

... and the very best: It is taken to build the path at every new installed plugin without resolving it (remains %COMMANDER_PATH%\Plugins)

Posted: 2008-11-10, 16:45 UTC
by fenix_productions
2Sombra
Isn't it working for automatic (INF inside archive) plugins installation only? I could swear that that I have this INI entry set properly. Oh! I am always adding my plugs using Configuration dialog.

I am on Mac now and can't check it...

Posted: 2008-11-10, 17:08 UTC
by ghisler(Author)
Yes, this is used for automatic installation. How should TC know that it should use it for manual installation when you pick the name via a "File open" dialog?

Posted: 2008-11-10, 19:12 UTC
by sqa_wizard
How should TC know that it should use it for manual installation when you pick the name via a "File open" dialog?
Just replace the path proactivly like:
e.g. VB:

Code: Select all

Replace(PluginFilename, Environ("COMMANDER_PATH"), "%COMMANDER_PATH%")
... just one line of code after the plugin path is chosen manually.

This makes it easy to add a plugin directly even from an USB-Stick (which tends to change the drive letter very often).

Posted: 2008-11-10, 19:18 UTC
by Sombra
2fenix_productions
Isn't it working for automatic (INF inside archive) plugins installation only?
You are right. I missed the context in you first post, and understood it later... reading the next posts in thread.