Checking are files the same
-
j_c_hallgren
- XY Blog Master
- Posts: 5826
- Joined: 02 Jan 2006 19:34
- Location: So. Chatham MA/Clearwater FL
- Contact:
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.
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.
(XP on laptop with touchpad and thus NO mouse!) Using latest beta vers when possible.
-
j_c_hallgren
- XY Blog Master
- Posts: 5826
- Joined: 02 Jan 2006 19:34
- Location: So. Chatham MA/Clearwater FL
- Contact:
When one attempts the current compare and things aren't set correctly, the following basic msg appears: 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"...
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 listStill 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.
(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:
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.j_c_hallgren wrote:When one attempts the current compare and things aren't set correctly, the following basic msg appears: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"...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
In the next version, both will work: Ctrl+C (file) and Ctrl+P (file name).
FAQ | XY News RSS | XY X
-
j_c_hallgren
- XY Blog Master
- Posts: 5826
- Joined: 02 Jan 2006 19:34
- Location: So. Chatham MA/Clearwater FL
- Contact:
I think you somewhat missed my point..admin wrote: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.j_c_hallgren wrote: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"...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
In the next version, both will work: Ctrl+C (file) and Ctrl+P (file name).
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.
(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:
Okay, but I think "Copy one file name to the clipboard" is also confusing.j_c_hallgren wrote:I think you somewhat missed my point..admin wrote: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.j_c_hallgren wrote: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"...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
In the next version, both will work: Ctrl+C (file) and Ctrl+P (file name).![]()
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.
This could be a version that everybody understands right:
"Copy (Ctrl+C) one file to the clipboard"
Right?
FAQ | XY News RSS | XY X
-
j_c_hallgren
- XY Blog Master
- Posts: 5826
- Joined: 02 Jan 2006 19:34
- Location: So. Chatham MA/Clearwater FL
- Contact:
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.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?
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.
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.
(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:
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...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.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?
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.And when I saw that msg, I said: Hummm, this could be confusing.
FAQ | XY News RSS | XY X
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...
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...
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.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.And when I saw that msg, I said: Hummm, this could be confusing.
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
-
admin
- Site Admin
- Posts: 65184
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Yes, later...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 ?
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.FAQ | XY News RSS | XY X
XYplorer Beta Club