From 6b10e01c03d6f900bc639c44d9e38976e239e054 Mon Sep 17 00:00:00 2001 From: Virgil Dupras Date: Thu, 15 Apr 2010 10:40:34 +0200 Subject: [PATCH] Updated dgpe help to include custom command description. --- help_pe/templates/preferences.mako | 8 ++++++++ help_pe/templates/results.mako | 1 + 2 files changed, 9 insertions(+) diff --git a/help_pe/templates/preferences.mako b/help_pe/templates/preferences.mako index 268d3a82..45fc4cb4 100644 --- a/help_pe/templates/preferences.mako +++ b/help_pe/templates/preferences.mako @@ -21,3 +21,11 @@ * **Recreate absolute path:** The source file's path will be re-created in the destination directory in it's entirety. For example, if you move "/Users/foobar/Picture/2006/06/photo.jpg" to the destination "/Users/foobar/MyDestination", the final destination for the file will be "/Users/foobar/MyDestination/Users/foobar/Picture/2006/06". In all cases, dupeGuru PE nicely handles naming conflicts by prepending a number to the destination filename if the filename already exists in the destination. + +**Custom Command:** This preference determines the command that will be invoked by the "Invoke Custom Command" action. You can invoke any external application through this action. This can be useful if, for example, you have a nice diffing application installed. + +The format of the command is the same as what you would write in the command line, except that there are 2 placeholders: **%d** and **%r**. These placeholders will be replaced by the path of the selected dupe (%d) and the path of the selected dupe's reference file (%r). + +If the path to your executable contains space characters, you should enclose it in "" quotes. You should also enclose placeholders in quotes because it's very possible that paths to dupes and refs will contain spaces. Here's an example custom command: + + "C:\Program Files\SuperDiffProg\SuperDiffProg.exe" "%d" "%r" diff --git a/help_pe/templates/results.mako b/help_pe/templates/results.mako index 53aa176f..e55e7f47 100644 --- a/help_pe/templates/results.mako +++ b/help_pe/templates/results.mako @@ -70,4 +70,5 @@ Action Menu * **Add Selected to Ignore List:** This first removes all selected duplicates from results, and then add the match of that duplicate and the current reference in the ignore list. This match will not come up again in further scan. The duplicate itself might come back, but it will be matched with another reference file. You can clear the ignore list with the Clear Ignore List command. * **Open Selected with Default Application:** Open the file with the application associated with selected file's type. * **Reveal Selected in Finder:** Open the folder containing selected file. +* **Invoke Custom Command:** Invokes the external application you've set up in your preferences using the current selection as arguments in the invocation. * **Rename Selected:** Prompts you for a new name, and then rename the selected file.