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 ... 172
3176
Beta Releases / Re: Possible bug
« on: August 12, 2013, 11:08:44 »
I works for me on all machines I tries on. For it to not work the 'mouse up' event must be blocked. So maybe it is OS related, settings in the OS, or some other program that hook it self into Windows, or a combination of things that cause a conflict or something..
I don't know, very strange.



3177
Beta Releases / Re: Possible bug
« on: August 12, 2013, 08:55:25 »
Can't make it happen.

Are you doing something special ? like clicking while dragging, or something. The only reason I see something like that can happen is if mouse up is never sent.
So mouse up must be lost in some way. But don't see how,  And I can not reproduce it. and then it is almost impossible to fix.

3178
Yes it does that if numLock is OFF because if numlock is OFF then numkey7 is translated into the HOME key by the OS.
Try enabling NumLock on your keyboard.

3179
XP and DPI did not work great. It has got a lot better and even a lot better in Win8.1

Most Apps does not care about DPI. That why Win8.1 include application scaling unless your app opt-in as DPI aware.

3180
Quote
MC do [does?] change UI size depending on DPI settings.
Are you sure?  I've never noticed Vista's DPI settings affecting many apps' GUI font (esp. config screens).  But, don't mess w/ it that much & most apps don't use quite this small of font OR have this MANY options (having the options is a good thing - just not very small font, sorting thru them).

Yes because I ask Windows what the DPI is and then calculate the fonts size and icon size and other UI elements depending on the DPI value.
Unless there are some special issue with Vista that makes it not work on Vista. But it should work the same as Win7/Win8. Btw Win8.1 is even better it can auto scale the entire program by it self. (But custom support for it will make it look better)

3181
hehe I'm not as young as you might think. I'm almost in the age group you mention and I know you meant SOME people over 40, I'm just allergic to people talking in absolutes and say EVERYONE think this. ANYONE does that , ANYONE like this and so on. 
never mind.

MC do change UI size depending on DPI settings. And the settings page should also do it. If it does not then something has broken in the settings page, And I will look into that..  But the normal parts of MC do follow DPI settings,  I have not tested the Settings page in high DPI in a while.

(Hmm But how do one add an option to increase font size if the user can not find the option to increase the font size because the font it too small. :) )

I will also see if an option can be added or maybe let it follow the font size for the explorer panel settings.






3182
SDK / Multi Commander SDK BETA
« on: August 10, 2013, 16:20:20 »
The SDK BETA is now public.

It can be used to create Extensions/Plugins for Multi Commander.
There are samples for Tools Extension, Extending MultiScript, FileSystem Plugin (Stream mode) and FileSystem plugin (Internal mode)

Also there is no documentation, (Sorry It takes to much time to write and I do not have that time right now)
but the SDK header files and Samples are well commented. If you have any questions then post them here in the forum or send a mail to me directly for you prefer that, I and will try to answer them.

Requirements
You will need to have knowledge of C++ to use the SDK. The included samples needs at least Visual Studio 2013 with Update 3.
(VS2013 Express Desktop Edition should work.)

SDK Download
Download SDK ( v1.69 )

If you have any Question, Suggestion , Tips, Bugs for the SDK please leave a new post here in the SDK part of the forum.

3183
Beta Releases / Re: Multi Commander v3.3 Alpha/Beta
« on: August 10, 2013, 16:18:41 »
New Beat 1457 has a new Delete dialog. There are still some minor UI issue with it. They will be fixed in the next beta.

3184
Script / Re: Search routine
« on: August 10, 2013, 15:50:55 »
& OT (but still about regexs!)
Is the greyed out regex box in the mass rename dialog temporary?

It is planed to support regex in the search part in the search and replace section. But I have not had the time too add it.


3185
Beta Releases / Re: Possible bug
« on: August 10, 2013, 15:43:00 »
Still can't reproduce it.. But I have change a lot of other things around this. so that might have fixed the issue.

It will try to push out a new beta today. So let me know if you still can reproduce in build 1457+

3186
I think it is 8pt. And say anyone over 40 have problem is not true.. I know a lot of people over 40 that does not have any issue at all :)

Anyway there is no settings for the font size for the settings screen at the moment.

MC however support system DPI changes. So if you in Windows increase the DPI the UI in MC will also be bigger.

3187
Support and Feedback / Re: Will not retain horizontal scroll bars
« on: August 10, 2013, 15:21:11 »
Columns positions are not saved per tab on restart. So if you customize the size of the columns and want to save that.. Then you should save it.

If you want to customize the default column layout you need to either save current as default or go to "customize column sets" and select default and then edit it there.
also there is a different between Enable/Disable a column and adding/removing.  (this will be change sometime in the future if I ever get the time)




3188
You can use the & to get a shortcut key for the menu part to.
So if you name you menu "&My Custom Menu" you will get "My Custom Menu" you then press Alt+M and that menu is shown.
Then you do Alt+M , 1

3189
Support and Feedback / Re: Will not retain horizontal scroll bars
« on: August 10, 2013, 12:54:55 »
Not sure I understand..
But I get horizontal scrollbar if I uncheck autosize and then change columns to be wider then the view and then set that layout as default (so that the column sizes are saved).

After restart I still get the horizontal scrollbar.



3190
It works for me.

But you must make sure that NumLock is ON.. else num7 is not num7. it is the Home key..and it is not num7

3191
Support and Feedback / Re: Edit filename hotkey? Like F2?
« on: August 09, 2013, 16:35:15 »
If you want all (or most) keys to be like Windows Explorer you can change the look and feel to  "Windows Explorer' mode , However this will reconfigure a lot of keys and mouse setup.
You do that in Menu > Configuration > Quick Look'n'Feel Setup

3192
Feature Requests and Suggestions / Re: Icon row in middle
« on: August 09, 2013, 14:05:58 »
Ahh Amiga DirOpus.. I remember that.. 
I was looking at something like that long ago. but it did not work so good on Windows.  If I ever get the time in the future I would like to give it another try to get it right. But not anytime soon.

3193
Script / Re: Search routine
« on: August 08, 2013, 17:25:07 »
Is it just my lack of skill or StrReplace won't accept a regex at all?
StrReplace replaces substrings.

3194
Beta Releases / Re: Possible bug
« on: August 08, 2013, 16:34:25 »
(Plz. Keep bug for new stuff in beta to the beta section)

Yes this has been reported. But I have not been able to reproduce it . But I changed the code a lot since the latest beta so if it is still an issue in the next beta let me know.


3195
Script / Re: Search routine
« on: August 08, 2013, 16:29:55 »
I wonder if there is already a good way to hi-lite the text for ease of editing (I've found with notepad++ I can save as a codepage & get coloured results, eg:- as .pl or .php), which helps me at the moment.
Well use an external editor is the option for that.  The built in editor in MC will not support syntax coloring anytime soon. cost so much (in time) to include an edit that support that.

For regex you mention StrRegExpFind is there also StrRegExpReplace? (If so I haven't seen it in the docs) I am currently assuming that the the find command will then invoke the regex to do any necessary editing.
Only functions you see in doc is there. or in release note for latest beta version if it is a new function.. after final release doc is updated. 

3196
Script / Re: Search routine
« on: August 07, 2013, 23:36:14 »
I'm wondering about vars & 'scope' (sorry, I wasn't using correct terminology)
As you can see from the screen shot in the post above, the debugger didn't red-flag anything but it didn't rename the selected folder either. 
That is because there is no script error.  but I think you are sending the wrong data into RenameFile(...)
Look at the doc http://multicommander.com/docs/multiscript/functions/filesystem#renamefile and and the description of the parameters and what you send, and see if you can see it. :)
 
I therefore wondered if the script requires all predefined vars to be included in {} operations before it will execute.
Apart from that I cannot see why it didn't execute...  No obvious elements like RUN or END etc jump out at me
The { } are "scopes" for loops or other conditional expressions..  For example if the expression inside an if( ... ) is true the scope belonging to the if is executed. else it is not.
and variables that are defined inside a scope only exists inside that scope. if variable are define in the "global" space then they are accessible by all.
you can write BEGIN / END instead of { } for example
if( $b )
BEGIN
 ...
END

But only boring languages like basic is using that syntax.. { } is used by all modern languages like c/c++/java/js/php and so on.


3197
Script / Re: Search routine
« on: August 07, 2013, 11:05:24 »
Is it necessary to include all variables in the { instruction} groups?
Eh ?  { are for defining a scope. and loops and conditional expressions will execute its scope if the expression is true.
See how the script language works here http://multicommander.com/docs/multiscript/languagesyntax

I wonder why it shows a change in the debugger but doesn't pass the change to the active selection.  Is it waiting for other vars to be handled?
The value that the debugger show is what the script engine has for that variable.

If \d is digit is \a letter?  Wondering about ?\a in this situation.
\d and \a and all other strange combination is regex stuff. You have to google/bing how regex works. I'm not an expert at regular expressions.

Better start reading a book on PHP if the forms are similar I guess.
MultiScript is not PHP.. but it follows the same programming method as any program language like c/c++/javascrfipt/java/php.. men only in its syntax and structure.. not in built in functions.
So you only need the first chapter in any programming book for beginnings. :)

3198
That network settings is does not do anything about browsing the network.
Browsing network outside of Windows Explorer is messy because the API provided by MS is very bad and there are also multiple ways to do it.
So in Core setting (Menu > configuration > Core Settings) at the FileSystem tab (at the bottom) you can change to another network browse method.. Method 2 or 3 might work better for your setup


3199
Script / Re: Search routine
« on: August 06, 2013, 21:48:48 »
Yes misstyped the definition of the variable name.. copy paste error.  Told you I did not run it.
But the error message is saying what when wrong.. "variable xxx not found.." so you worked it out..

Did you say you were going to add permanent line numbers to the debugger?  (That display when debugger is stopped)
No. it will not be added.


3200
Script / Re: Search routine
« on: August 06, 2013, 19:04:22 »
RegExp are a pain. There are many reqex online testers/editor. try one of them they might be helpful when creating regex.

You can not send an entire array into a function that expect a string.. You need to send each item (string) from the array one by one from the array into the function.
Also do not put to much in one line inside each other. the debugger will stop after ever line, so if you got many things in a line then you will not see what went wrong. (You can shorten it afterwards)

Code: [Select]
@var $arr = GetSourceSelectedFileNames();
@var $items = arrayCount($arr);
@var $OrgName;
@var $NewName;
@var $n = 0;

for( $n = 0; $n < $items; $n++ )
{
  $CurrentNameFullPath = $arr[ $n ];
  // The the Filename part only. (Since the TO name in RenameFile does not accept a path)
  $NewName = PathGetNamePart( $CurrentNameFullPath );
  // replace . with empty.
  $NewName = StrReplace( $NewName, "." , "" )
  // Rename current file to a new name. 
  RenameFile( $CurrentNameFullPath, $NewName, "SILENT" );
}
( Or something like that.. code above is NOT tested.. )

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