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 - AlanJB

Pages: 1 ... 13 14 15 16 [17] 18
401
Nolly,

all the information you need is here:

  http://multicommander.com/docs/UDC_multiscript (follow the links).

Help is always on hand in this and the 'Scripts' forum, especially with folk like Jungle and Mathias (the inventor of Multiscript) contributing :)

Alan

402
User Contributed Content / Updating MC Documentation in 2016
« on: June 05, 2016, 23:27:50 »
I would be very happy to help with updating the online documentation; there are quite a few omissions by now and (without any disrespect whatever intended) some of the English could be "tidied up".

I fully understand the additional workload that documentation places on a developer (I was one for 40 years), and we cannot expect Mathias S to do everything in his spare time ;)

403
Support and Feedback / Re: CTRL-PAGE-UP / DOWN not changable
« on: June 04, 2016, 11:20:27 »
I've just been experimenting a bit and it seems you cannot override the (internal) key binding of Ctrl+PageUp.

FWIW, Backspace only needs 1 finger ;).

404
Support and Feedback / Re: Purpose of locking Tab option
« on: June 04, 2016, 10:51:12 »
Quote
I allso expected that when I open a new folder in a locked tab - but allowing subpath change, it would create a new tab and jump to it...

Nolly,

  to have the behaviour you want, set the tab to "Lock Tab" and under Configuration -> Explorer Panel Settings -> Tab section,
check "Open new tab when going to new location if tab is locked".

HTH

Alan

405
Sounds like the perfect opportunity to learn some Multi Script  ;)

It's not that difficult, and as a recent adopter of Multi Commander, I promise you the results are worth the effort.

406
Support and Feedback / Re: How to create a shortcut?
« on: May 31, 2016, 19:11:50 »
Hi Andrew (I assume  ;)).

Sorry - should have said it was a Multi Script (Custom Commands can only be 1-line commands).

Have you tried running it through the Multi Script Debugger (1st entry under the Help menu)?  If not, before you do, make sure Multi Commander has focus on a file you want to create a shortcut for...

If you are suffering from customized keyboard (Hotkey) conflicts, try assigning your Multi Script to an obscure key combination that cannot possibly be assigned already.  Say, Ctrl+Shift+Alt F4, for example.

FWIW, I have a User-Defined menu for testing commands:  I attach the new command to the menu and test it works before I assign a Hotkey to it.

As for your missing menu entries, as a WAG, under Configuration -> Manage Plugins and Extensions, with Extension type: set to "Application Extensions", are "File Utils" and "Multi Rename" both checked?


407
Support and Feedback / Re: How to create a shortcut?
« on: May 31, 2016, 12:06:31 »
To create your shortcut, try:

@var $FileName = GetSourceFocusPath();
@var $LinkName = $FileName + ".lnk";
MC.Utils.CreateLink LNKSRC="{$LinkName}" LNKTRG="{$FileName}" LNKTYPE=4

408
Support and Feedback / Re: How to create a shortcut?
« on: May 31, 2016, 11:56:51 »
I use only the portable version and I have both
 Extensions -> Multi-Rename and
 Tools -> File Links

409
Susan,
  Explorer Settings -> Display tab -> Date / Time Format -> check "Use custom date and time format":

  double click the first entry, which (by default) reads: yyyy-MM-dd, to edit it
  change MM to MMM (ie., from month number to month name)
  rearrange the date elements in the order you need; eg. MMMM-dd-yyyy

HTH

410
I don't imagine any File Commander on the planet could cope with that scenario!

As a programmer of very long standing, I understand the need for templates, but can I ask why the shortcuts?  Which application uses these templates - or the shortcuts?  How many are we talking about?

I'm guessing there may a better way to accomplish what you need here.  You could, for example, copy the folder/file structure and then use VBScript or Powershell or a free tool like XXMLink to create all your shortcuts in the new structure.

411
Matthias515566,

  do you have the same issue if you end Full Screen mode in Adobe by using Esc?

412
Matthias515566,

Which version (exactly) of Excel 2016 are you running?  Before build 16.0.6366.2062, Excel had a memory leak.

Just a thought...

Alan

413
Support and Feedback / Re: Problem with String Concatenation
« on: May 11, 2016, 23:55:05 »
I guessed that may be the case when further testing (after I posted) showed that if $n was the last argument in the concatenated string, it worked.

numtostring() works fine - thanks.

Luckily, no-one spotted my deliberate (ahem) mistake - the space in "MessageBox (", which will cause the function to fail, of course.  You need to make the script engine smarter to allow for programmers like me  ;D

Thanks again.

Alan


414
Support and Feedback / Problem with String Concatenation
« on: May 11, 2016, 14:41:52 »
Apologies if this is a long post for a simple problem, but I wanted to give as much info as possible.

This started as a simple diagnostic exercise to check that I was correctly getting the source paths of all 5 open tabs in the left explorer panel.

The script (note line 6 , beginning "$Paths...") is:
Code: [Select]
@var $Paths = "";
@var $n = 0;
for ( $n=1; $n<6; $n++ )
{
  MC.SetActiveTab PANEL=LEFT TAB={$n};
  $Paths += GetSourcePath() + "\r\n";
}
MessageBox ("Output",$Paths,0)

The Output, as expected, is:
Code: [Select]
C:\Alan\
C:\Zip\
C:\Tools\
C:\Temp\
C:\Users\Alan\

If I change line 6 to:  $Paths += $n + GetSourcePath() + "\r\n";  the output, NOT as expected, is:
Code: [Select]
12345

It seems everything after $n is ignored in the concatenation !?

If I change line 6 to:  $Paths += GetSourcePath() + " " + $n + "\r\n";  the output, again NOT as expected, is:
Code: [Select]
C:\Alan\ 1C:\Zip\ 2C:\Tools\ 3C:\Temp\ 4C:\Users\Alan\ 5

Once again, it seems everything after $n is ignored.  Is this expected behaviour?  Is there a workaround, or am I doing something wrong?

According to the documentation:  "Conversion from string to number and number to string are often done automatically, making it possible to concatenate a number variable or constant to a string."

TIA

Alan

415
Beta Releases / Re: Multi Commander 6.2 BETA
« on: May 07, 2016, 18:20:23 »
I just realized that "F3" is my custom key binding;  the install default is, of course, "Alt+F3".

I assumed that the dialog would open in its last-used mode, I didn't realize that search had to be run before the setting was saved; it is not enough to simply hide the Advanced filter and then close the Find Files dialog.

OK - I've worked out the combinations to allow Ctrl+F to work.  Should have tested more rigorously.

A "non-issue" then, I guess  ;)

416
Beta Releases / Multi Commander 6.2 BETA Issue
« on: May 07, 2016, 13:56:49 »
Just updated to 6.2 RC.  "MC.CloseAllTabs DONOTASK" works perfectly, but I found the following issues...

F3 search:

  the search dialog always opens in advanced mode
  the search dialog remains in focus during the search
  Ctrl+F does not dismiss (close/hide) the search dialog

This behaviour does not occur in 6.1 Build 2125

Alan

417
Beta Releases / Re: Multi Commander 6.2 BETA
« on: May 06, 2016, 23:38:23 »
Hi Mathias.

Thanks for including ""MC.CloseAllTabs DONOTASK"" in 6.2 RC.  I can make good use of that  :)

Do you have an (estimated) release date for 6.2 final yet, or do we wait for you to be happy with the testing of the RC?

Alan

418
Support and Feedback / Re: Asynchronous Commands
« on: May 04, 2016, 16:56:16 »
OK, thanks Mathias.

I have raised my issue, with more detail, in the Scripts forum.

Alan

419
Prompted by my question in http://forum.multicommander.com/forum/index.php/topic,1726.0.html

Can MC.RunUserCmd also run Multi-Scripts (or only Custom commands)?

I have a working Multi-Script bound to Ctrl+Backspace as follows:

Code: [Select]
# Go to Drive Root
MC.RunCmd ID=ExplorerPanel.41053;
# Go to top
MC.RunCmd ID=ExplorerPanel.41075

(Some of my tabs are locked below the physical drive root, so "Drive Root" is actually "Tab Root").

However, when I attempt to include this at the end of a new Multi-Script with
Code: [Select]
...
...
MC.RunUserCmd ID=41137de592511df9a3a39b11165bcf44

only the "# Go to Drive Root" is run.  The "# Go to top" never executes.

Any ideas?


Alan



420
Support and Feedback / Re: Asynchronous Commands
« on: May 03, 2016, 18:54:14 »
Hi Mathias.

I was prompted about the async issue by this post:

   http://forum.multicommander.com/forum/index.php/topic,915.msg2720.html#msg2720
   
I do have an issue that might be affected by this.  I will start a new topic in Scripts.

Alan

421
Support and Feedback / Asynchronous Commands
« on: May 03, 2016, 00:20:45 »
Hi Mathias.

Could you please provide a list of ALL asynchronous commands in MC?

I have been bitten in the backside by several Custom/MultiScript UDCs I have been testing lately because of (maybe) asynchronous commands.

Such a list would be a great help in writing UDCs more succinctly and efficiently.

Since this request relates to Documentation (I suppose) I have a proposal to put to you:  may I email you privately (you have already PM'd me) ?

TIA

Alan

422
Support and Feedback / Re: Crash upon opening Multicommander
« on: May 03, 2016, 00:08:51 »
Hi Susan.

Glad that you got it sorted and that I was of some help  :)

I am technically a Newbie on this forum, although I have 45+ years programming under my belt.  Not C++, sadly, and I am very new to MC.  But loving it so far  :D

I totally get where Mathias is going with MC, and I am very impressed (BTW, I'm not easily impressed with most software I come across).  For a one-man, part-time effort this is OUTSTANDING work!

I think Mathias has got his config TOTALLY right and it makes end-user (i.e., amateur) debugging SO much easier when config data is saved in well-formatted .xml files with sensible tag names!  More developers should take a leaf out of his book, IMHO.

( Disclaimer:  I do not know, nor have I any financial or otherwise arrangement with Mathias: he is Swedish, I am English and I have never left the UK: I simply know good software when I see it  ;) )

Alan

423
Support and Feedback / Re: Crash upon opening Multicommander
« on: May 02, 2016, 11:23:12 »
Hi Susan.

Two suggestions:

1)  Install the Portable version temporarily (in, say, C:\Temp\), change NO configuration whatsoever & see what result you get.  If it does not crash (I see no reason why it should), then something that you have changed likely has caused the crash.  You can delete the temporary installation when you have finished testing or keep it for further testing; it will not trample on your full install.

or

2)  If you are confident about this (I'd try it!):  create a backup copy of the file "MultiCommander.xml" (probably in the MultiCommander folder in your windows profile - I can't check because I only use the Portable version).

Open "MultiCommander.xml" in your favourite text editor and identify the line that begins "<crashdumpformat value=", in my copy of this file it is on line 212.  Set the value to 4 so the line reads "<crashdumpformat value="4"/>".  This will set Crash dump format to "Crash dump with maximum information (20+ MB)".  Repeat your tests - at least you have a fighting chance of sending a Crash dump.

HTH

Alan

424
Support and Feedback / Re: Repeat Error Messages in Log
« on: May 01, 2016, 16:57:00 »
Thanks - I'll stop worrying.

425
Support and Feedback / Re: Enumerate Open Explorer tabs
« on: May 01, 2016, 16:56:19 »
Thanks Mathias.

"MC.CloseAllTabs DONOTASK " was exactly the kind of functionality  I was hoping for.

Looking forward to the next release  :D

Pages: 1 ... 13 14 15 16 [17] 18