Hello, Mr. sgp,

If you put my FC.powerpro script in your PP scripts folder, you can add this 
line to your .CmdPrompt.powerpro. It works.

elseif (activewindow(?"=freecommander")) //freecommander
        folder = ....@getfcfolder()

-------------------------

--- In [email protected], sgp <acs322...@...> wrote:
>
> brother.gabriel wrote:
> 
> > Hello, y'all!  How can I use powerpro so that when I click in an
> > explorer window or on the desktop and push, oh, say, win+n that it
> > will create a new folder there?  I played with the newfolder command,
> > but it requires me to give a path.  I would like the path to be found
> > by simply clicking on the window.  Has anyone written something like
> > this yet? 
> 
> Try CmdPrompt.powerpro, which I uploaded to the Temp folder
> ;all on one line below
> http://f1.grp.yahoofs.com/v1/0LQ9TJTQw_VJ3WD7t2YqDEDlpvAH8KmUUtz2qkArCcnJhhQyoc-
> MVSskCuWdMbNW-sLEmY3AelMJ-Zjc2_66cCSrPsCd6vw/0_TEMP_/CmdPrompt.PowerPro
> ;all on one line above
> 
> .cmdpro...@genfolderpath returns the "current" path of a few applications, 
> like Explorer,
> IrfanView, and others. Once you have the "current path" you can script an 
> action to create a
> new folder, etc. Assign your script to a hotkey.
> 
> Explorer "current" path also includes the standard file open/save dialog.
> 
> I've been using and enhancing CmdPrompt.powerpro for years, and it works well 
> for me.
> Tested on WinXP only. Sorry, but I have no time to do a full-blown release, 
> so take it as is.
> 
> Usage example 1:
> 
> ; open my file manager in Explorer's "current" folder
> Key = Shift+Win+f
> Cmd1 = ....@runlfolderactive
> 
> ; where
> @RunLFolderActive
> quit ( ....@run(??/O /T "?++.cmdpro...@genfolderpath("","noprompt")++??"?) )
> ; and @Run starts my file manager
> 
> Usage example 2:
> 
> ; Pick folder for open/save dialog
> Key = Shift+Win+s
> Cmd1 = .cmdpro...@visualpickfolder
>


Reply via email to