Can't get Folder Pairs to Work

I am trying a simple folder pair, the "test" down the bottom works. I have tried default checkbox settings and all ticked. I have tried in single and dual pane.

When I navigate to the tested folder nothing happens. I googled and searched youtube on folder pairs but didn't find anything.

This is kind of a simplistic answer, but I think I know what you may be looking for.
To activate the paired folder in the other file display you can use Folder -> Paired Folder.

What I use is, be it the best answer or not, is this script by @lxp that will auto open them.

1 Like

Thanks for the script suggestion, now it does exactly what I expected it to do rather than having no obvious effect (and the documentation not really saying what to expect).

I don't understand the folder suggestion as that doesn't seem to be in the folder context menu or anywhere else I could locate.

Try the toolbar below. If one member of a pair is open a button will appear indicating the existence of a pair. If you click on this button, the other pair member will open. An option to turn on Nav Lock is also included.

Open Both Members of a Paired Folder If One Open.dcf (1.9 KB)

Code:

<?xml version="1.0"?>
<button 3dborders="no" backcol="none" display="label" icon_size="large" label_pos="right" textcol="none" timed="yes" type="menu_button">
	<label>Open Both Members of a Paired Folder If One Open</label>
	<tip>On|Off Nav Lock Toggle, Alt+Scroll to Move Synchronously</tip>
	<icon1>#Paired Folders</icon1>
	<function type="script">
		<instruction>@script JScript</instruction>
		<instruction>@showif:=return Len(Resolve(source, &quot;p&quot;)) &gt; 0</instruction>
		<instruction>function OnClick(clickData)</instruction>
		<instruction>{</instruction>
		<instruction>	var cmd = clickData.func.command;</instruction>
		<instruction>	// See https://resource.dopus.com/t/paired-folders-are-they-already-functional/46101/5</instruction>
		<instruction>	//cmd.runcommand(&quot;Go OPENINDUAL NEWTAB=findexisting PATH {sourcepath|pair}&quot;);</instruction>
		<instruction>	cmd.runcommand(&quot;Go NEWTAB=findexisting OPENINDUAL PATH {sourcepath|pair}&quot;);</instruction>
		<instruction>}</instruction>
	</function>
	<button 3dborders="no" backcol="none" display="label" icon_size="large" label_pos="right" textcol="none">
		<label>On|Off Navigation Lock Toggle</label>
		<icon1>#navlock</icon1>
		<function type="normal">
			<instruction>@showif:=return Len(Resolve(source, &quot;p&quot;)) &gt; 0</instruction>
			<instruction>@label:Val(&quot;$tab:NAVLOCK&quot;)==&quot;on&quot; ? &quot;&lt;b&gt;Nav Lock is OFF&lt;/b&gt;&quot; : &quot;&lt;b&gt;Nav Lock is ON&lt;/b&gt;&quot;</instruction>
			<instruction>@if:$tab:NAVLOCK</instruction>
			<instruction>@set tab:NAVLOCK</instruction>
			<instruction>Set NAVLOCK=On</instruction>
			<instruction>@if:else</instruction>
			<instruction>Set NAVLOCK=Off</instruction>
			<instruction>@set tab:NAVLOCK=on</instruction>
			<instruction>@if:common</instruction>
			<instruction>@toggle:update</instruction>
		</function>
	</button>
</button>

2 Likes