PureFileMaster a Total-Commander-Clone Released! (Version 3)

Developed or developing a new product in PureBasic? Tell the world about it.
zikitrake
Addict
Addict
Posts: 875
Joined: Thu Mar 25, 2004 2:15 pm
Location: Spain

Post by zikitrake »

:roll: I don't know if it's a good method:

Code: Select all

MyCmd.s = "dir"
MyParams.s = "c:\*.*"

;Method 1 (Keep DOS console active)
RunProgram("command.com", "/k " + MyCmd + " " + MyParams, "")

;Method 2 
OpenConsole()
RunProgram("command.com", "/c " + MyCmd + " " + MyParams, "")
CloseConsole()
It's tested on Windows XP only
PB 6.21 beta, PureVision User
User avatar
AL90
Enthusiast
Enthusiast
Posts: 217
Joined: Fri Sep 16, 2005 7:47 pm
Location: Germany
Contact:

Post by AL90 »

zikitrake wrote::roll: I don't know if it's a good method:
Ok it works also on Vista. I will try to add this method. Thanks for your sample. :wink:
zikitrake
Addict
Addict
Posts: 875
Joined: Thu Mar 25, 2004 2:15 pm
Location: Spain

Post by zikitrake »

AL90 wrote:
zikitrake wrote::roll: I don't know if it's a good method:
Ok it works also on Vista. I will try to add this method. Thanks for your sample. :wink:
:D Thank you AL; a best method from ts-soft: http://www.purebasic.fr/english/viewtop ... 011#284011

Code: Select all

RunProgram(GetEnvironmentVariable("COMSPEC"), "/k " + MyCmd + " " + MyParams, "")
PB 6.21 beta, PureVision User
User avatar
AL90
Enthusiast
Enthusiast
Posts: 217
Joined: Fri Sep 16, 2005 7:47 pm
Location: Germany
Contact:

Post by AL90 »

zikitrake wrote: :D Thank you AL; a best method from ts-soft: http://www.purebasic.fr/english/viewtop ... 011#284011

Code: Select all

RunProgram(GetEnvironmentVariable("COMSPEC"), "/k " + MyCmd + " " + MyParams, "")
Thanks you zikitrake and of course ts-soft. :D
It's added in ToDo List. :wink:
User avatar
AL90
Enthusiast
Enthusiast
Posts: 217
Joined: Fri Sep 16, 2005 7:47 pm
Location: Germany
Contact:

Post by AL90 »

Version 2.79 is now available!
V2.79

- Added: "Always to Root". (De/Selectable in Prefs)
- Added: Create desktop shortcuts.
- Added: Calculator symbol in the Toolbar.
- Fixed: CommandLine supports now also DOS-Commands. (Thanks to zikitrake & ts-soft)
- Some fixes.
Pure FileMaster Setup v2.79

Pure FileMaster ZIP v2.79
User avatar
AL90
Enthusiast
Enthusiast
Posts: 217
Joined: Fri Sep 16, 2005 7:47 pm
Location: Germany
Contact:

Post by AL90 »

Version 2.80 is now available!
V2.80

- Added: CommandLine can now use as drive history. (Prefs)
- Added: An large plugin system. (Prefs)
- Some changes.
Pure FileMaster Setup v2.80

Pure FileMaster ZIP v2.80

Image

About the new Plugin-System:

The next descripted Internal Environment variables has following values :

%PFM_First_Selection% - Returns the first selected entry of source directory.
%PFM_All_Selection% - Returns all selected entrys of source directory. (separate with the " " char)
%PFM_Source_Drive% - Returns the drive of source-path.
%PFM_Dest_Drive% - Returns the drive of destination-path.
%PFM_Source_Path% - Returns the source-path.
%PFM_Dest_Path% - Returns the destination-path.

All EnvironmentVariables (Internal + External) can also selected by Menu
and paste in the StringGadget.

Here now some small plugin samples to use in PureFileMaster.
You can it copy as FileMasterPlugins.ini in the PureFileMaster's ProgramFolder.

Code: Select all

; 
; PureFileMaster Plugin ConfigFile
; 
[Plugin_0]
; 
PluginName = Date and Time
PluginExe = C:\Windows\System32\control.exe
PluginParam = timedate.cpl
PluginToolTip = change date and time
PluginCheckBox_1 = 0
PluginCheckBox_2 = 0
PluginCheckBox_3 = 0
PluginCheckBox_4 = 0
; 
[Plugin_1]
; 
PluginName = MS Paint
PluginExe = C:\Windows\System32\mspaint.exe
PluginParam = %PFM_First_Selection%
PluginToolTip = edit selected picture
PluginCheckBox_1 = 0
PluginCheckBox_2 = 0
PluginCheckBox_3 = 0
PluginCheckBox_4 = 0
; 
[Plugin_2]
; 
PluginName = Calculator
PluginExe = C:\Windows\System32\calc.exe
PluginParam = 
PluginToolTip = Calculator
PluginCheckBox_1 = 0
PluginCheckBox_2 = 0
PluginCheckBox_3 = 0
PluginCheckBox_4 = 0
; 
[Plugin_3]
; 
PluginName = DOS Copy
PluginExe = copy /-y
PluginParam = %PFM_First_Selection% %PFM_Dest_Path%
PluginToolTip = copy a file to destination path
PluginCheckBox_1 = 0
PluginCheckBox_2 = 1
PluginCheckBox_3 = 1
PluginCheckBox_4 = 1
Feedback are welcome. :wink:
akj
Enthusiast
Enthusiast
Posts: 668
Joined: Mon Jun 09, 2003 10:08 pm
Location: Nottingham

Post by akj »

I cannot work out how to create a PFM plugin that will jump the currently active browser window to a specific folder that I use frequently. Please advise me.
In case it is relevant, I am using Windows XP.
Anthony Jordan
User avatar
AL90
Enthusiast
Enthusiast
Posts: 217
Joined: Fri Sep 16, 2005 7:47 pm
Location: Germany
Contact:

Post by AL90 »

akj wrote:I cannot work out how to create a PFM plugin that will jump the currently active browser window to a specific folder that I use frequently. Please advise me.
In case it is relevant, I am using Windows XP.
Mean you get the source path ? You can it get with %PFM_Source_Path%
or mean you an auto selection of a folder in source path ?
If yes, that is not possible. sorry.
akj
Enthusiast
Enthusiast
Posts: 668
Joined: Mon Jun 09, 2003 10:08 pm
Location: Nottingham

Post by akj »

AL90:
Yes, I meant automatic one-click selection of a favourite folder.
Thank you for replying.
Anthony Jordan
User avatar
AL90
Enthusiast
Enthusiast
Posts: 217
Joined: Fri Sep 16, 2005 7:47 pm
Location: Germany
Contact:

Post by AL90 »

akj wrote:AL90:
Yes, I meant automatic one-click selection of a favourite folder.
Thank you for replying.
Favourites support will come later first. If you want you can currently use the
"commandLine history" for easyer use. I think I can add the favorite option
in one of the next releases. :wink:
User avatar
AL90
Enthusiast
Enthusiast
Posts: 217
Joined: Fri Sep 16, 2005 7:47 pm
Location: Germany
Contact:

Post by AL90 »

Version 2.81 is now available!
V2.81

- Added: New option in Menu. ("Add selected file to plugins")
- Added: Adding of Plugins in Menu and/or Toolbar is now selectable.
- Changed: Changes in the Plugin-Options requires no longer a restart of the Application.
- Changed: Environment variables in Filename of Plugin-Executables is now allowed.
- Changed: MakeDir will now set as default the first selected folder in the InputBox.
("") when nothing is selected. In addition to it you can now select another folder from the ComboBox.
- Bug Fixed: The application has crash when selected a folder with hidden files from the CMD-Line.
- Some changes.
Pure FileMaster Setup v2.81

Pure FileMaster ZIP v2.81
Perkin
Enthusiast
Enthusiast
Posts: 504
Joined: Thu Jul 03, 2008 10:13 pm
Location: Kent, UK

Post by Perkin »

Just tried this, really good :)

If it's possible, i would like to request that you add this feature.

If selecting a file/folder with middle mouse button, it would act same as left, but as though CTRL key was pressed, i.e. toggle-select.

I used to use an old version of DirOpus, and found the feature extremely useful.

Any chance?

Thanks
Perkin
%101010 = $2A = 42
User avatar
AL90
Enthusiast
Enthusiast
Posts: 217
Joined: Fri Sep 16, 2005 7:47 pm
Location: Germany
Contact:

Post by AL90 »

Perkin wrote:Just tried this, really good :)
Thanks. :wink:
If it's possible, i would like to request that you add this feature.

If selecting a file/folder with middle mouse button, it would act same as left, but as though CTRL key was pressed, i.e. toggle-select.

I used to use an old version of DirOpus, and found the feature extremely useful.

Any chance?
Yes. I will try to add this feature. But I don't known currently how I can
get events if a Gadget is clicked by middle or right mousebutton.
yrreti
Enthusiast
Enthusiast
Posts: 546
Joined: Tue Oct 31, 2006 4:34 am

Post by yrreti »

Don't have time as I got to go to work, but maybe this link can help.
http://www.purebasic.fr/english/viewtop ... use+clicks
User avatar
AL90
Enthusiast
Enthusiast
Posts: 217
Joined: Fri Sep 16, 2005 7:47 pm
Location: Germany
Contact:

Post by AL90 »

yrreti wrote:Don't have time as I got to go to work, but maybe this link can help.
http://www.purebasic.fr/english/viewtop ... use+clicks
Ok I will see what I can do. Thanks for your help. :wink:
Post Reply