Branch-View / Paste file "here"

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
MBaas
Posts: 655
Joined: 15 Feb 2016 21:08

Branch-View / Paste file "here"

Post by MBaas »

I'm starting to work in BranchView ;-)

Something I am missing is the ability to copy/move a file via clipboard to another dir in BV (I mainly use the Detail-View in the List). So I'm dreaming of an item in any file's context-menu which would paste the current file in clipboard into the dir of the currently focussed item (whose contextmenu I opened). Or am I perhaps missing another way to do that?
_________________________________________________
Happy user with Screen scaling 100% and W11Pro 24H2 ;-)

ds1508
Posts: 17
Joined: 19 Jul 2016 12:51
Location: NRW, Germany

Re: Branch-View / Paste file "here"

Post by ds1508 »

Don't understand this.
You mean you press CTRL+X to cut the item, CTRL+C to copy the item, and then press CTRL+V at the target to paste it?
In special cases you may contact me on Discord: http://bit.ly/dsDisco

MBaas
Posts: 655
Joined: 15 Feb 2016 21:08

Re: Branch-View / Paste file "here"

Post by MBaas »

See screenshot - after Ctrl-C or X I'd like to right-click one of the paths and paste the file there. (I could do "Goto focused item in new tab", then paste there and close the tab - but that's too many clicks for something that could be made simpler 8) )
2016-09-27_12-51-03.png
2016-09-27_12-51-03.png (54.68 KiB) Viewed 1993 times
_________________________________________________
Happy user with Screen scaling 100% and W11Pro 24H2 ;-)

ds1508
Posts: 17
Joined: 19 Jul 2016 12:51
Location: NRW, Germany

Re: Branch-View / Paste file "here"

Post by ds1508 »

ah, ok, now I think I got it. :)
What view is this? search? paperfolder?
I think you have to copy/cut, select the target, and use a script then. But not sure. I'll try this...
In special cases you may contact me on Discord: http://bit.ly/dsDisco

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

Re: Branch-View / Paste file "here"

Post by admin »

If you use a Branch View that shows folders and files (you are currently using one that shows only files) you could simply drag the item onto the folder.

bdeshi
Posts: 4256
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612
Contact:

Re: Branch-View / Paste file "here"

Post by bdeshi »

Create a UDC | Run Script.

Code: Select all

caption: Paste to selected item's location
 script: ::pasteto gpc(<curitem>, 'path');
Assign a suitable shortcut. Now select a $file, run the script, items in clipboard are pasted to $file's path, honoring copy or cut state.

Add the script as a global PFA item (::#604;), then you'll get a context menu item via Open With... .

Code: Select all

|"Paste to selected item's location"*>::pasteto gpc(<pfaitem>, 'path');
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]

MBaas
Posts: 655
Joined: 15 Feb 2016 21:08

Re: Branch-View / Paste file "here"

Post by MBaas »

Cool, thanks to both of you! Both approaches sound good, will use both ;-)
_________________________________________________
Happy user with Screen scaling 100% and W11Pro 24H2 ;-)

Post Reply