Copy Paste Path Buttons

These two buttons allow you to copy the current path to the clipboard / pasting a path to the clipboard and making the current tab going to this folder.

I find this very useful when working with programs that use the system open/save dialog where you can enter the pathbox with CTRL-L (combined with CTRL+C or CTRL+V) and so being able to "share" the path between DOpus and those programs/dialogs.

Since I find this functionality pretty useful and did not find them combined in one post I felt like sharing this functionality. I used CTRL+ ALT + C and CTRL+ALT+V for a "natural feeling" and placed them next to my "path textbox".
So here you go

  • COPYING
<?xml version="1.0"?>
<button backcol="none" display="icon" hotkey="ctrl+alt+C" textcol="none">
	<label>Copy current path to clipboard</label>
	<icon1>#clipcopy</icon1>
	<function type="normal">
		<instruction>@nofilenamequoting</instruction>
		<instruction>Clipboard SET {sourcepath$|noterm}</instruction>
	</function>
</button>
  • Pasting
<?xml version="1.0"?>
<button backcol="none" display="icon" hotkey="ctrl+alt+V" label_pos="bottom" textcol="none">
	<label>Goto path from Clipboard</label>
	<icon1>#copyfilenames</icon1>
	<function type="normal">
		<instruction>GO &quot;{clip}&quot;</instruction>
	</function>
</button>

2 Likes