Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Mathias (Author)

Pages: 1 ... 124 125 126 127 [128] 129 130 131 132 ... 189
3176
Script / Re: Debugger in 4.3 hangs MC on error
« on: June 01, 2014, 20:15:28 »
Thanks again, I had managed to forget the link between MC.Explorer commands & scripts in looking through all the script functions  :-[
You pre-empted my query on tokenize...!!  :D

----- I had been looking at this -
Code: [Select]
<array> StrTokenize2Array(<str> input, <str> delimiter);but it doesn't like this
Code: [Select]
$arr StrTokenize2Array($arr input, "." delimiter);
@var $name = $arr[0];
@var $ext = $arr[1];

Not sure what is wrong with my syntax  ::)   It splits the string into letters & gives $arr[xx] for each character but this is not useful for a filename that is not a constant pattern. 

But now I can skip past that issue for this script.  :P

Code: [Select]
@var $path = "C:\\MyFolder\\MyFiles.txt";
@var $arr = StrTokenize2Array($path, ".");
But the problem with that is that if any other part of the path happens to have a "." it will be bad.

You can also use string function
Code: [Select]
@var $path = "C:\\MyFolder\\MyFiles.txt";
@var $positionOfLastDot = StrRFind($path, ".");
@var $name = StrSub($path , 0, $positionOfLastDot);
@var $ext = StrSub($path , $positionOfLastDot, -1);

There are many ways to do the same thing :)

3177
Script / Re: Debugger in 4.3 hangs MC on error
« on: June 01, 2014, 19:16:26 »
MC.Explorer.Goto
For going to a path

Send 1 as second paramter to PathGetNamePart and it will strip file extension
http://multicommander.com/docs/multiscript/functions/filesystem#pathgetnamepart



3178
Script / Re: Debugger in 4.3 hangs MC on error
« on: June 01, 2014, 13:08:51 »
I also wondered how I might define a folder name based on things like filenames, root folder etc not just date & time.  I was wondering about something like this
Code: [Select]
@var $arr = PathGetParts( $src_path );but instead transposing filename to a new folder & adding date & time.  As the debugger kept hanging I didn't get very far.
You can use PathGetParts to get an array with all the parts of the file paths split up.

But then you need to tell what part you want to use
like
Code: [Select]
@var $path = "C:\\MyFolder\\MyFiles.txt";
@var $arr = PathGetParts( $path );

@var $drive = $arr[0];
@var $path = $arr[1];
@var $filename = $arr[2];
$drive = "C:\"
$path = "C:\MyFolder\"
$filename = "MyFiles.txt"


If you only want the last Name part of a path you can use PathGetNamePart
Code: [Select]
@var $path = "C:\\MyFolder\\MyFiles.txt";
@var $filename = PathGetNamePart( $path );
$filename = "MyFiles.txt"

Or if you only want the path..  (Like remove the last path entry from the path)
Code: [Select]
@var $path = "C:\\MyFolder\\MyFiles.txt";
@var $pathPart = PathGetPathPart( $path );
$pathPart = "C:\MyFolder\"

3179
Script / Re: Debugger in 4.3 hangs MC on error
« on: May 31, 2014, 23:40:30 »
Strange. It does not crash for me..


You know.. You do not need the extra { }

Code: [Select]
$folder = $FolderBaseName ^ $arr;Not sure what you think that would do.. $arr is an array, so you append that to a string only the first element is added.

But you do not need the array at all.. just write
$folder = $FolderBaseName ^ $date + " " + $nowLocal;

Also
Code: [Select]
@var $nowLocal = FormatTime( "HHMM", $now);the format is wrong..  minutes is lower case. "mm"

So you can write it like this.

Code: [Select]
@var $now = GetTime();
@var $date = FormatDate( "dd-MM-yyyy" , $now );
@var $time = FormatTime( "HHmm", $now);
@var $folder;
@var $FolderBaseName = GetSourcePath();

 $folder = $FolderBaseName ^ $date + " " +$time;
 MC.Filesystem.Makedir PATH="{$folder}"


3180
I have not seen anything like that.
There was probably more information about what exactly was wrong in the logs, if you reinstalled they are now gone.

3181
I got most of the on my UI issue list (And added the one that was not).
But the problem is that some of the UI elements is not easily changed. They require a lot of work to override how they are drawn. Also "flat" does not fit well everywhere.

However it do require a lot of time/work to change them and it will give little value, And right now I'm trying to focus implemented new features that give the user more value.
But they day will probably come when I can spend some more time on fixing the UI.

3182
Feature Requests and Suggestions / Re: MTP support
« on: May 31, 2014, 13:16:02 »
Not currently, I do not have any donation page yet.

3183
Ahh

Well that is not really in the scope of MC I think. Also it is kind of impossible to know what files in other places are belonging to what program.
Windows to not keep track of that.

There are separate tools that do this. But they often have a background service running that recoding what is installed and so.
But that is so much more then a small file tool.. that is a whole own big program.

3184
Run "Uninstall MultiCommander.exe" directly or go to program and features and select to Uninstall MultiCommander there
or from the Start Screen/menu

If you are running the portable version there is no uninstall exe since you can just delete it your self and it saves everything inside the MC folder. So everything is removed then.



3185
Feature Requests and Suggestions / Re: MTP support
« on: May 31, 2014, 09:42:41 »
Not everything can be there at once.. It takes time to add features.

But if you checkout the beta for the upcoming version you will find a new file system plugin for WPD (MTP)

( How to get beta )

3186
this is a feature that would be great to have, a full uninstaller including cleaning registry, appdata, program data, start menu shortcuts, etc.
Uninstall already asks if some parts should be keep or not. and if you check to clear all, everything is removed.

Another simple (I think) feature, the ability to circle around the device drop down list with arrow keys, meaning when I reach Portable and press down arrow again returns to the top of the list.
No not simple, The dropdown list is a standard UI component provided by Windows.
Just press "Home" or PageUp key to get to the top again.
And you can also press C for the C:\ drive and D for for D:\ drive and so on when the droplist is shown.


3187
Beta Releases / Re: Multi Commander 4.3 Alpha
« on: May 30, 2014, 12:10:10 »
Thanks for the new script functions  in b1691 Mathias. 
Quote
MultiScript function CopyFile,MoveFile now support optional option "NEWQUEUE", "USEEXISTINGQUEUE"
MC just keeps getting better  8)

Is there any chance these functions could be added to the MC.Explorer.Delete command also?


Yes, that is the plan.

3188
Support and Feedback / Re: Writing to 4tb external hard drives
« on: May 29, 2014, 11:19:50 »
You did not provide much info so it is hard to say why this is happening for you.

What version do you use ? Is there some additional error information in the application/file operatoin log (Ctrl+L),
What kind of external drives are they USB2/USB3/ESATA/FW/Other ?, What kind of drives ?
What OS are you running, Desktop or Laptop ? very slow or very very fast CPU ?  Anything else that are special, unique for you system ?

It might be that some part of you HW does not support optimized file transfers.

You can turn that off in

Menu > Configuration > Core Settings > File System >
 * Default file operations options
   * Copy And Move
      [.] Automatically detect read/write strategy for file copy
     
   Turn off that setting and restart MC


3189
Support and Feedback / Re: Cannot run MC
« on: May 25, 2014, 20:57:35 »
That is weird..

What Internet Security program is that ?

3190
Support and Feedback / Re: Forcing a refresh
« on: May 18, 2014, 15:24:44 »
I'm not able to recreate that the tree folder tree fails to update.

The FolderTree can not update it self. The normal file system browser list controls it and update it if needed.
If you browse so you see the folder in the normal list and enter it from that panel, the folder should popup in the folder tree if it is missing.

3191
Support and Feedback / Re: crash
« on: May 16, 2014, 16:36:50 »
errorlog.txt is to no use in finding out why something crash.
When a crash happens a crash dump should be sent and a dialog will be shown with a Crash ID.

Problem is that most of the time when a crash happens in 7zip it is in the part that come from the creators of 7zip, and if that is the case here, there is nothing I can do to fix it. But to find that out a crash dump is needed.








3192
I'm not even able to drag a web links from inside a mail in Outlook to IE (or any browser, because there is no ).

It is however possible type drop attachment from outlook into MC
But you can not drop entire mail since outlook create some weird dropdata that is not support.

3193
Support and Feedback / Re: Filename font colour --- how to
« on: May 15, 2014, 07:09:57 »
File Coloring can not match against "Artist" properties from the ID3 meta data inside the file,
Matching against extended file properties are not yet implemented.

3194
Support and Feedback / Re: aberrant items on screen
« on: May 13, 2014, 06:05:27 »
Create a UserDefinedCommand of custom command type and select MC.CmdLineRun and set :rdrive to the cmd..
MC.CmdLineRun CMD=":rdrive"

then create a shortcut to that command.

3195
Script / Re: create a new open folder with the current date
« on: May 12, 2014, 18:14:54 »
Create a UserDefinedCommand of MultiScript type

And get the current time with gettime();  ( http://multicommander.com/docs/multiscript/functions/datetime#gettime )

Then format the time to what every format you want the datetime with formatdate ( http://multicommander.com/docs/multiscript/functions/datetime#formatdate )

Get the current source path as a base of the path where you add the datetime string to with GetSourcePath() ( http://multicommander.com/docs/multiscript/functions/getfilefromview#getsourcepath )

See this post for hints.
http://forum.multicommander.com/forum/index.php/topic,712.0.html

3196
Support and Feedback / Re: FTP Connections - export
« on: May 12, 2014, 18:10:03 »
in the installed version type ":gouserdata" and MC will go to the location where user data is stored.
(normally C:\Users\<username>\AppData\Roaming\MultiCommander\UserData )
There you find a subfolder named FS-FTP and in that a file named ftpsites.xml . this is the bookmark file.

Then start the portable version and to ":gouserdata" there and copy the file to that location.
(create the FS-FTP folder if it not already there)

3197
Feature Requests and Suggestions / Re: add sftp support
« on: May 12, 2014, 18:07:06 »
Yes SFTP is something that is planned but since it is a totally different protocol then FTP it is not something that is added easy.

first thanks for nice piece of software.

+ for SFTP, consider advantages SFTP over FTPS:
(1) FTP is older than SFTP
(2) SFTP is available (because of OpenSSH) on most UNIX systems and it isn't necessary install/configure/maintain other FTP software.

for me is SFTP vital feature and would be cool handle it with multicommander.

You can not compare SFTP and FTPS  they are completely different protocol..
FTPS is FTP over a TLS/SSL conncetion. (Like https , same protocol as http but over a SSL connection.)
SFTP is a totally different protocol then FTP. and has nothing really to do with normal FTP


3198
Support and Feedback / Re: aberrant items on screen
« on: May 12, 2014, 06:22:52 »
Can be that the file has hidden or system attribute on it and in MC you have chosen to see them and in Windows Explorer they are not shown.

The tree can in some weird situation show duplicated drive. But I never seen it happen with normal drive.
And Im not able to recreate it.

You can try to refresh the drive/device list by typing ":rdrive" in the command line field.

3199
Beta Releases / Multi Commander 4.3 Alpha
« on: May 10, 2014, 16:10:06 »
v4.3 Release Candidate is out for testing.

There is only one major new thing and it is a the new file system plugin "FSPortable" that allows access to portable device via the WPD/MTP interface.
Also some minor fixes and changes

117+ Changes since v4.2

Build 1694
  ADDED - Informative tooltip now shows all file dates.
  ADDED - CustomCommand MC.Explorer.Delete now support optional option "NEWQUEUE", "USEEXISTINGQUEUE"
  ADDED - Create Folder dialog now accept F6 for replacing all illegal folder characters with space
  ADDED - Create Folder dialog now accept F7 for removing all space
  ADDED - Create Folder dialog now accept F9 for inserting todays date as name (ISO formatted as it will auto sort correctly and contains allowed characters)
  FIXED - Show Hidden popup on the toolbar reworked. And Hidden and System files can be changed separately
  FIXED - Unpack dialog will now default to source location.
  FIXED - Problem with FTP QuickConnect and Site Manager

Build 1691
  ADDED - CustomCommand MC.Explorer.Copy now support optional option "NEWQUEUE", "USEEXISTINGQUEUE"
  ADDED - MultiScript function CopyFile,MoveFile now support optional option "NEWQUEUE", "USEEXISTINGQUEUE"
  FIXED - FSPortable will now update the browsing counter if it takes a long time to scan the device
  ADDED - FSPortable will now show an storage icon for the storage object.
  ADDED - FSPortable is now using multi language system for settings page
  ADDED - Create folder dialog now accept a complete path, This will override the current location.
  ADDED - FSPortable is now using the new FileSystem API for getting and inserting files.
  SDK   - Added support for a new way to insert/get files from a FileSystem Plugin

Build 1688
  FIXED -  Free space check during copy for folders that are mounted devices now works correct
  FIXED -  Paths containing ~ sometimes got confused as a shorted 8.3 path
  FIXED -  Password protected zip archives now works. (Only standard zip password protection is supported)
  FIXED -  Password protected 7Zip archives now works better
  FIXED -  Folder tree now shows the correct folder name for folders that are mounted devices
  ADDED -  Folder tree now support that a folder might be drag from it and dropped someplace else for copy/move
  ADDED -  Portable devices will now show their free/available space information
  ADDED -  Refresh hotkey will now refresh foldertree if the folder tree is in focus when pressed
  ADDED -  History popup that shows visited path is now global, Not only for current panel.
  ADDED -  CustomCommand to force a refresh of the folder tree ( MC.Explorer.RefreshTree )
  ADDED -  Drag and drop data of TYMED_ISTORAGE type now supported
  FIXED -  1 crash issues reported by Crash report system
  SDK   -  A lot of refactoring of the IVolume interface

Build 1681
 ADDED- New virtual filesystem plugin "FSPortable"
 FIXED - Added size restriction to external files to 25MB
 FIXED - 2 crash issues reported by Crash report system


FSPortable - Know issues
 * Connecting multiple device with same device name and you will only be able to access the first one.
 * When adding audio file to the device, Album art and meta data for music is not set. Some devices fixes this them self. some do not.
   (Not sure if it will be added so the FSPortable plugin does this or not )
 * Max file size limit of the device is not checked
 * Allowed content type of a folder is not checked. Write a file that is not allowed and the device will delete it without saying anything.
 * Free / Available space is not show. Plugin API does not yet support that.
 * Plugin not working on Windows XP



3200
Feature Requests and Suggestions / Re: Recent Places list
« on: May 09, 2014, 06:58:45 »
Location History is found on the Back and Fwd button.  You can right click them to get a list of previous locations. They are in order in the order you visited them.
The History button  (The toolbar button after the forward arrorw button) shows an aggregated history location of the current tab.

Shortkeys
Back - Alt+Left
Forward - Alt+Right
History List - Alt+Down

Pages: 1 ... 124 125 126 127 [128] 129 130 131 132 ... 189