Checking are files the same

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
j_c_hallgren
XY Blog Master
Posts: 5826
Joined: 02 Jan 2006 19:34
Location: So. Chatham MA/Clearwater FL
Contact:

Post by j_c_hallgren »

jacky, I would think that a script command that provides the needed params for the compare would handle that issue, right?
As the current file could be passed via variables via that command.

I really was thinking mainly of how best one could setup the params using a dialog panel for either newbies or the occasional use.
Still spending WAY TOO much time here! But it's such a pleasure helping XY be a treasure!
(XP on laptop with touchpad and thus NO mouse!) Using latest beta vers when possible.

jacky
XYwiki Master
Posts: 3106
Joined: 23 Aug 2005 22:25
Location: France
Contact:

Post by jacky »

j_c_hallgren wrote:jacky, I would think that a script command that provides the needed params for the compare would handle that issue, right?
Yes, if there's a script command one could do a script to accomplish this, of course!
Proud XYplorer Fanatic

admin
Site Admin
Posts: 65184
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Post by admin »

The next BETA will have a simple Compare function for the basic needs. :)

bergfex
Posts: 188
Joined: 07 Sep 2007 19:06

Post by bergfex »

admin wrote:The next BETA will have a simple Compare function for the basic needs. :)
Cool. For me that's sufficient 99% of the time.
**** Abandoned Account ****

j_c_hallgren
XY Blog Master
Posts: 5826
Joined: 02 Jan 2006 19:34
Location: So. Chatham MA/Clearwater FL
Contact:

Post by j_c_hallgren »

When one attempts the current compare and things aren't set correctly, the following basic msg appears:

Code: Select all

In order to compare two files you need to do the following:
(1) Copy one file to the clipboard
(2) Select another file in the file list
I think the wording of "(1)" could be improved upon, as the file itself shouldn't be on clipboard, but rather the name (and path?) of that file, right? As in "Copy Item Path/Name of first file to clipboard"...
Still spending WAY TOO much time here! But it's such a pleasure helping XY be a treasure!
(XP on laptop with touchpad and thus NO mouse!) Using latest beta vers when possible.

admin
Site Admin
Posts: 65184
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Post by admin »

j_c_hallgren wrote:When one attempts the current compare and things aren't set correctly, the following basic msg appears:

Code: Select all

In order to compare two files you need to do the following:
(1) Copy one file to the clipboard
(2) Select another file in the file list
I think the wording of "(1)" could be improved upon, as the file itself shouldn't be on clipboard, but rather the name (and path?) of that file, right? As in "Copy Item Path/Name of first file to clipboard"...
No, it is correct like this. In the current version (but see below) it works only when you do a Ctrl+C copy, not a Ctrl+P copy. BTW, also Ctrl+C does not copy "the file itself" but just the name plus some other info.

In the next version, both will work: Ctrl+C (file) and Ctrl+P (file name).

j_c_hallgren
XY Blog Master
Posts: 5826
Joined: 02 Jan 2006 19:34
Location: So. Chatham MA/Clearwater FL
Contact:

Post by j_c_hallgren »

admin wrote:
j_c_hallgren wrote:

Code: Select all

In order to compare two files you need to do the following:
(1) Copy one file to the clipboard
(2) Select another file in the file list
I think the wording of "(1)" could be improved upon, as the file itself shouldn't be on clipboard, but rather the name (and path?) of that file, right? As in "Copy Item Path/Name of first file to clipboard"...
No, it is correct like this. In the current version (but see below) it works only when you do a Ctrl+C copy, not a Ctrl+P copy. BTW, also Ctrl+C does not copy "the file itself" but just the name plus some other info.

In the next version, both will work: Ctrl+C (file) and Ctrl+P (file name).
I think you somewhat missed my point.. :wink:

In that "Copy one file to the clipboard" needs to say as minimum (IMHO) "Copy one file name to the clipboard" (or similar) because the first way could be interpreted as copying the contents of it, and not the name, ok? As in doing a Cntl+C while editing a file after selecting all...

And Cntl+C copies "Item Name" while Cntl+P copies "Item Path/name" so that what I was trying to get msg to more resemble.
Still spending WAY TOO much time here! But it's such a pleasure helping XY be a treasure!
(XP on laptop with touchpad and thus NO mouse!) Using latest beta vers when possible.

admin
Site Admin
Posts: 65184
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Post by admin »

j_c_hallgren wrote:
admin wrote:
j_c_hallgren wrote:

Code: Select all

In order to compare two files you need to do the following:
(1) Copy one file to the clipboard
(2) Select another file in the file list
I think the wording of "(1)" could be improved upon, as the file itself shouldn't be on clipboard, but rather the name (and path?) of that file, right? As in "Copy Item Path/Name of first file to clipboard"...
No, it is correct like this. In the current version (but see below) it works only when you do a Ctrl+C copy, not a Ctrl+P copy. BTW, also Ctrl+C does not copy "the file itself" but just the name plus some other info.

In the next version, both will work: Ctrl+C (file) and Ctrl+P (file name).
I think you somewhat missed my point.. :wink:

In that "Copy one file to the clipboard" needs to say as minimum (IMHO) "Copy one file name to the clipboard" (or similar) because the first way could be interpreted as copying the contents of it, and not the name, ok? As in doing a Cntl+C while editing a file after selecting all...

And Cntl+C copies "Item Name" while Cntl+P copies "Item Path/name" so that what I was trying to get msg to more resemble.
Okay, but I think "Copy one file name to the clipboard" is also confusing.

This could be a version that everybody understands right:
"Copy (Ctrl+C) one file to the clipboard"
Right?

j_c_hallgren
XY Blog Master
Posts: 5826
Joined: 02 Jan 2006 19:34
Location: So. Chatham MA/Clearwater FL
Contact:

Post by j_c_hallgren »

admin wrote:Okay, but I think "Copy one file name to the clipboard" is also confusing.

This could be a version that everybody understands right:
"Copy (Ctrl+C) one file to the clipboard"
Right?
Sorry, but...nope...because it still doesn't distinguish between the name and contents, as both can be copied to clipboard via Cntl+C...some qualifier needs to be there to explicitly say which.

I'm only bringing this up because at the time I was just checking out the new options and menus, I happened to have the contents of a file on clipboard from another task. :roll: And when I saw that msg, I said: Hummm, this could be confusing.
Still spending WAY TOO much time here! But it's such a pleasure helping XY be a treasure!
(XP on laptop with touchpad and thus NO mouse!) Using latest beta vers when possible.

PeterH
Posts: 2826
Joined: 21 Nov 2005 20:39
Location: DE W11Pro 24H2, 1920*1200*100% 3840*2160*150%

Post by PeterH »

From the idea I'd say J_C is right - you don't copy the file - you prepare the copy by saving the file's name in the clipboard.
But I also think adding "CTRL-C" makes this clear...

admin
Site Admin
Posts: 65184
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Post by admin »

j_c_hallgren wrote:
admin wrote:Okay, but I think "Copy one file name to the clipboard" is also confusing.

This could be a version that everybody understands right:
"Copy (Ctrl+C) one file to the clipboard"
Right?
Sorry, but...nope...because it still doesn't distinguish between the name and contents, as both can be copied to clipboard via Cntl+C...some qualifier needs to be there to explicitly say which.

I'm only bringing this up because at the time I was just checking out the new options and menus, I happened to have the contents of a file on clipboard from another task. :roll: And when I saw that msg, I said: Hummm, this could be confusing.
Okay, I agree it could be confusing. But "Copy one file name to the clipboard" is confusing, too (at least it would confuse me). We still need a better idea...

Pagat
Posts: 306
Joined: 09 Oct 2007 21:23
Location: Austria

Post by Pagat »

From my pont of view the current caption "Copy one file" is far less confusing than "Copy one file name". If i would read that second caption i would initialy think of Ctrl-P.

But why change the text if it works with both options (Ctrl-C / Ctrl-P) in one of the next versions anyway? I don't think there are much users who would open a file and copy the content of it... "Copy one file" isn't that confusing in my opinion...

jacky
XYwiki Master
Posts: 3106
Joined: 23 Aug 2005 22:25
Location: France
Contact:

Post by jacky »

j_c_hallgren wrote:Sorry, but...nope...because it still doesn't distinguish between the name and contents, as both can be copied to clipboard via Cntl+C...some qualifier needs to be there to explicitly say which.

I'm only bringing this up because at the time I was just checking out the new options and menus, I happened to have the contents of a file on clipboard from another task. :roll: And when I saw that msg, I said: Hummm, this could be confusing.
I don't get this confusion, because I find the current wording to be the standard and expected one from such a thing. I get that you got confused because of the situation you were in, but never mind that, there is no reason to assume this special situation you found yourself would be the common thing for other users.

This is a standard (Windows) behavior : copy a file to the clipboard means select it and do Edit|Copy (Ctrl+C), I don't see any reason to assume one would be confused by this.

In fact, because this is the standard, trying to add something or anything would then be confusing, I feel. Whenever someone is asked to copy/paste a file, never does he thinks I have to put its actual content in the clipboard and then paste it, copying a file to the clipboard has a "standard" meaning, why try to get things more complicated/confusing ?
Proud XYplorer Fanatic

jacky
XYwiki Master
Posts: 3106
Joined: 23 Aug 2005 22:25
Location: France
Contact:

Post by jacky »

Question: when more than one file are on the clipboard, wouldn't it be nice if XY would compare the current item with each of them ?
And/or, maybe it could compare with not the current item, but all selected items ?
Proud XYplorer Fanatic

admin
Site Admin
Posts: 65184
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Post by admin »

jacky wrote:Question: when more than one file are on the clipboard, wouldn't it be nice if XY would compare the current item with each of them ?
And/or, maybe it could compare with not the current item, but all selected items ?
Yes, later...

The next upload will have this:

Code: Select all

    * Menu Edit | Compare: Before, you'd have to send the reference item 
      via a real file copy (Ctrl+C) to the clipboard. Now, both will work: 
      Ctrl+C (file) and Ctrl+P (file name).
      Note that when there is more than one file on the clipboard only the 
      first is used for the comparison. In case of a textual clipboard 
      content (Ctrl+P) the separator between the file names is expected 
      to be CRLF. XYplorer's Ctrl+P uses CRLF anyway, but if you use 
      other means to fill the clipboard and then want to use the 
      Compare command you should bear that in mind.

Post Reply