WFX-plugins CD command extension

Here you can propose new features, make suggestions etc.

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
Maximus
Member
Member
Posts: 147
Joined: 2006-04-12, 10:51 UTC
Location: Ukraine
Contact:

WFX-plugins CD command extension

Post by *Maximus »

Hi
I propose the following extension of the functional CD command while using it for WFX-plugin (for example, in the button on the toolbar).
The command will look like this:

Code: Select all

CD \\\WFX_Plugin_Name\Some\path\ <command>
Or for the current plugin folder:

Code: Select all

CD %P <command>
Command <command> will be sent to the plugin via the function FsExecuteFile(HWND MainWin,char* RemoteName,char* Verb).
Where
RemoteName – \\\WFX_Plugin_Name\Some\path\
Verb – quote command
It will be very useful for creating buttons (or even the toolbars) specifically for the plugin.
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

I think it would be better just to pass entire command to plugin if working directory within plugin is set (I wrote about it 2-3 years ago):
MVV wrote:C allow to execute FS commands via buttonbar buttons (I mean passing command "quote ..." to FS plugin), if plugin folder is specified as working dir e.g. (this would be useful for creating plugin-specific user-commands, bar buttons etc);
I've solved this problem for my VP by creating separate tool that passes command to loaded plugin... It's not so convenient as might be but it works.
Post Reply