Dupes filter is not finding name.tif and name.jpg

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
MrAnalogy
Posts: 49
Joined: 29 Jan 2007 20:46

Re: Dupes filter is not finding name.tif and name.jpg

Post by MrAnalogy »

pardon my ignorance here, but what is "Power Button" ?
I searched XY help and didn't find anything. Is this like Power Filters?

And if so, how do I copy the Script into XY?
Software company owner

Flora_RMC
Posts: 295
Joined: 28 Dec 2012 09:50
Location: Windows 10 home 1909 - monitor 100% standard (1366x768)

Re: Dupes filter is not finding name.tif and name.jpg

Post by Flora_RMC »

MrAnalogy wrote:pardon my ignorance here, but what is "Power Button" ?
I searched XY help and didn't find anything. Is this like Power Filters?
And if so, how do I copy the Script into XY?
Well, Power Button it's the name FluxTorpedoe gave to his User Button - nothing important for you right now: it's not in the Help. :roll:

In order to use a script (with a button), you need to put a User Button in your toolbar, first.
Simply open Customize Toolbar and add one of those blue buttons with a white star. They are at the very bottom of the list. Now, you need to right click on the new User Button in the toolbar > Edit.
You can give it a name, but the important part is the 'On click' box. Here you can paste the script FluxTorpedoe kindly gave you (click on Edit and then paste the script). Click OK, and now every time you left-click on your new button, you'll see a menu with all sorts of selecting options. :D
Alternatively, you can paste the script in the 'On right-click' box, if you have another command you want to execute on left click. But that is up to you...

BTW, in order to use all the possibility you have with FluxTorpedoe's script, you need to have 2 folders open in XY's 2 panes. If your files (JPG and TIFF) are in the same folder, simply open the same folder in both panes, and then you can choose the best selecting criteria.
I hope this helps... :wink:

FluxTorpedoe
Posts: 906
Joined: 05 Oct 2011 13:15

Re: Dupes filter is not finding name.tif and name.jpg

Post by FluxTorpedoe »

Thanks Flora_RMC for taking care of what I should have done :) - and at least mentioning that the script was to be used in dual pane!
And indeed regarding the PowerSelect button, it's one of mine (that I shall publish some day after commenting/rewriting), and I mentioned it just to warn that this mini-script was an excerpt from a much bigger script, and posted as-is.

About using the script or any script in XY, it's best to familiarize yourself following the instructions nicely given above, and reading more info in the Script Exchange forum.

But the least I can do now is also to provide a quick access to test the script
Use the following snippet (with Don's litteral instructions):
-a) Paste ::snippet; into the address bar and press ENTER. A text box will open to enter snippet.
-b) And here comes the copy+paste ready snippet. It will create a new button at the right end of your toolbar.

Code: Select all

Snip: CTB 1
  XYplorer 11.60.0207, 05.10.2012 17:30:00
Action
  NewUserButton
Name
  Power Launcher
Icon
  :goprev
ScriptL
  "Mirror Selection in Other Pane"
    sync("SelectSelected" , , 1, , 1);
    wait 100;
    #802;
  "Select Difference and Newer (Between Panes)|:syncscroll"
    #251;
    #802;
    #251;
    wait 100;
    sync("SelectUniquesAndNewer");
    sync("SelectUniquesAndNewer", , , , 1);
  "Select Difference (Between Panes)"
    #251;
    #802;
    #251;
    sync("SelectUniques" , , 0);
    sync("SelectUniques" , , 0, , 1);
  "Select Same Fullname (Between Panes)"
    #251;
    #802;
    #251;
    sync();
    wait 100;
    sync( , , , , 1);
  "Select Same Basename (Between Panes)"
    #251;
    #802;
    #251;
    sync( , , 1);
    wait 100;
    sync( , , 1, , 1);
  "Sync Select...|:syncscroll"
    #812;
FireClick
  0
[/size]

Post Reply