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 ... 11 12 [13]
301
Script / CopyFile has me Beaten
« on: April 21, 2016, 18:34:08 »
I am trying to write a hotkeyed command to copy the file in focus to the current path.  Can some kind soul please explain why this fails (the Debugger seems to have no issue with it)?

Code: [Select]
@var $file = GetSourceFocusPath();
@var $path = PathGetPathPart($file);
@var $name = PathGetNamePart($file, 1);
@var $ext = PathGetFileExtPart($file);
@var $copytext = $path + $name + " - Copy" + $ext;
CopyFile($path, $copytext);

302
Script / Re: Select All Files matching the Date of File In Focus
« on: April 20, 2016, 16:19:38 »
Thanks Mathias.

FormatDate() was what I was missing.

303
Script / Select All Files matching the Date of File In Focus
« on: April 20, 2016, 10:41:22 »
I have been using MC for about 2 weeks now & got my head around the configuration and even written a couple of custom commands.
Now I am stumped after a couple of days of scripting failure.  I feel sure that what I want should be achievable with MultiScript, but I cannot get it to work.

I simply want to select all the files in the panel with a Last Modified Date that matches that of the file in focus.

Has anyone accomplished this or can give me some pointers?

TIA

Pages: 1 ... 11 12 [13]