An easier way to copy a selected/focused filename to Find?

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

Post by admin »

surrender wrote:I like #2 (as you said easier for newbies) but my vote for #1 because I use ctrl+P a looooot.

btw, is Shift+P possible??
Yes. Very uncommon for keyboard shortcuts, but why I don't know....

lukescammell
Posts: 744
Joined: 28 Jul 2006 13:15
Location: Kent, UK
Contact:

Post by lukescammell »

2

Let's get some SHIFT+KEY shortcuts going. New XY exclusive feature! :D
Used to update to the latest beta every day. Now I have children instead…
Windows 10 Pro x64 (everywhere except phone…)

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:
surrender wrote:btw, is Shift+P possible??
Yes. Very uncommon for keyboard shortcuts, but why I don't know....
Maybe because it could be keyed as part of any user input? :wink: :roll: Most shortcuts use Cntl to distinguish it from "normal" text input...or Shift when used with any key that does not create a character (Fxx, Del, etc)..
Updated: Just realized above theory may be totally bogus.. :oops:

BTW, in the case where one has a number of files selected in one folder in list: Using Cntl+shift+P as now creates a list of "x" number of identical path entries...and for what use would that be? I can't think of one...Now if that gave me a list of just the actual filenames only, then I can see a use for it...so I'd vote for swapping this shortcut over!
Last edited by j_c_hallgren on 29 Nov 2006 15:43, edited 1 time in total.
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.

Gandolf

Re: An easier way to copy a selected/focused filename to Fin

Post by Gandolf »

jacky wrote:
Gandolf wrote:"Command Prompt" in the context menu ...
hmm.. not sure what you're talking about here. There is only ONE command in XY, and that is "Open Command Prompt Here (Ctrl+Alt+P)"
I know the Command Prompt in my context menu is nothing to do with XY, it's one of my many "standard" registry entries that I've been using for years. I was using it to illustrate the difference, and the fact that I think it is a more correct behaviour that the XY Command prompt.
admin wrote:Shift+Alt+* unfortunately is not possible because of the main menu (try e.g. Shift+Alt+F...).
Interesting that you can't code Alt+Shift+key to be different from Alt+key. AutoHotkey treats Alt+Shift+key and Alt+key as different key codes, but then it also treats Ctrl+Alt+key as different from AltGr+key.


Option (2):
Ctrl+P = Item Name(s)
Ctrl+Shift+P = Item Path/Name(s)

would obviously be my choice.
Item Path is a common requirement for me to open a directory in another application when I don't want to open the file (graphics editor when I want to select files from the directory). Hence a keyboard shortcut would be preferred.

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

Re: An easier way to copy a selected/focused filename to Fin

Post by jacky »

j_c_hallgren wrote:BTW, in the case where one has a number of files selected in one folder in list: Using Cntl+shift+P as now creates a list of "x" number of identical path entries...and for what use would that be? I can't think of one...Now if that gave me a list of just the actual filenames only, then I can see a use for it...so I'd vote for swapping this shortcut over!
It could be usefull and give different paths when used on search results ;) Obviously yeah, on "regular" browsing it will always be the same path over & over again.
Gandolf wrote:I know the Command Prompt in my context menu is nothing to do with XY, it's one of my many "standard" registry entries that I've been using for years. I was using it to illustrate the difference, and the fact that I think it is a more correct behaviour that the XY Command prompt.
Oh ok. Well I personally think the way XY does it is a more correct behavior ;) especially because it says "Open CP Here" ; as mentionned your command is I beleive on the ctxt menu of folders, hence another way to go.
Gandolf wrote:Item Path is a common requirement for me to open a directory in another application when I don't want to open the file (graphics editor when I want to select files from the directory). Hence a keyboard shortcut would be preferred.
Just a little tip, if you have no selected item on List, Ctrl+P will copy the current path to the clipboard ;)
Proud XYplorer Fanatic

Steadyhands
Posts: 24
Joined: 13 Sep 2006 11:47
Location: Brisbane, Australia
Contact:

Post by Steadyhands »

I vote 1.

I personally use Copy Path more than copy filename

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

Post by admin »

Okay, thanks for voting. 3 x (1), 4 x (2) if I counted right. I myself vote (1) so that makes a draw! But wait, my vote counts double! :lol:

So we will have
Ctrl+P --> Copy Path/Item
Ctrl+Shift+P --> Copy Item 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 »

And given that "Copy Path Name" is still available via "Info to Clipboard" contect menu, for those that need that ability, switching shortcut to a function that appears to have more usage within XY itself makes sense, IMO...
Yes, doing the 'Info to Clipboard/Copy Name" could have been used to help my initial problem, but given that it was on context menu, I tend to not use those as much, and thus not recall what options are there.

Glad to have prompted this discussion! It may help make things a bit easier for most all of us...
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.

zridling
Posts: 140
Joined: 29 Jul 2006 06:12
Location: Chicago, US
Contact:

Post by zridling »

Although logic favors #2, I vote for #1 because it's more often used, and being shorter, is quicker to key.
- Zaine Ridling, The Great Software blog

Post Reply