Page 1 of 1
Branch-View / Paste file "here"
Posted: 27 Sep 2016 11:15
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?
Re: Branch-View / Paste file "here"
Posted: 27 Sep 2016 11:39
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?
Re: Branch-View / Paste file "here"
Posted: 27 Sep 2016 12:54
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

)

- 2016-09-27_12-51-03.png (54.68 KiB) Viewed 2001 times
Re: Branch-View / Paste file "here"
Posted: 27 Sep 2016 13:38
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...
Re: Branch-View / Paste file "here"
Posted: 27 Sep 2016 15:36
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.
Re: Branch-View / Paste file "here"
Posted: 27 Sep 2016 15:58
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');
Re: Branch-View / Paste file "here"
Posted: 27 Sep 2016 16:15
by MBaas
Cool, thanks to both of you! Both approaches sound good, will use both ;-)