I’m trying to make a one click toggle button to swap my current setup with the folders/results list mode that apple has with their dialogue box.
For this mode the left lister shows folders only and the right lister shows files only.
I can’t seem to cram it all onto one button. I need it to duplicate the tab across, then the nav lock on, the filter bar to hide files on the left and hide folders on the right.
Apple has up to four panes worth of folders but I can just use the breadcrumbs path instead.
I was stumped here for a while.
I couldn't get Quickfilterflags to set the duplicated tab, but eventually I found a way to do that.
What I have then is a start to what you are trying to do.
Perhaps someone else will be able to solve the toggle part, but personally I'd be happy with just this much.
Set QUICKFILTERFLAGS=hidefiles
Go NEWTAB=dupe
Go TABMOVE=active
Set QUICKFILTERFLAGS=hidedirs NAVLOCK=on
Edit Note:
I just tried this over an FTP connection and to my surprise it worked.
@if:$glob:FRL
@set glob:FRL
Go CURRENT OPENINDUAL NEWTAB=tofront
Set FOCUS=Left
Set HIDEFILTERFILENAME=*
Set FOCUS=Right
Set HIDEFILTERFOLDERS=*
@if:else
Set FOCUS=Left
Set HIDEFILTERFILENAME=*
Set FOCUS=Right
Set HIDEFILTERFOLDERS=*
@set glob:FRL=on
I think I have the toggle part working on my version now.
The idea as I understood it, be it right or not, was to toggle to and from the folders/results mode.
This will do that provided the same tab has focus for both toggles.
I also fixed a bug.
//Results Mode
Set QUICKFILTERFLAGS=hidefiles
@ifset:!QUICKFILTERFLAGS=hidefiles
Go NEWTAB=dupe
Go TABMOVE=active
Set QUICKFILTERFLAGS=hidedirs
Go TABSELECT=prev
Set NAVLOCK=on
@if:else
Set NAVLOCK=off
Go TABCLOSE=dest
@ASUNDER
Navlock is probably not gong to be what you need with my version .
I don't know how to lock the Quickfilterflags settings so that this 'Results Mode' view persists with Navlocked folder changes. @jinsight 's version almost works and does this part better than mine.
It probably can be done with a script or maybe a feature request, but for now there is a workaround.
Linked tabs are the answer.
Opening a folder into a new tab via the context menu helps much with this.
If a folder is opened into a new tab, the button can then be run again to create a new tab pair.
Going back to the other tab pair can still toggle that view off.
//Results Mode
Set QUICKFILTERFLAGS=hidefiles
@ifset:!QUICKFILTERFLAGS=hidefiles
Go NEWTAB=dupe
Go TABMOVE=active
Set QUICKFILTERFLAGS=hidedirs
Go TABSELECT=prev
Go Tablink=on
//Set NAVLOCK=on
@if:else
//Set NAVLOCK=off
Go Tablink=off
Go TABCLOSE=dest
Are you still here @ASUNDER ?
I'll be starting a new thread with this idea along with a couple of other things as side car tabs.
It may be a bit laughable, I'm laughing too, but it really isn't.
It will be about an idea of directory structure reorganization ( oops, reorganisation and my spell check just flagged ).
I'm thinking of adding two other tabs both created by @lxp , but not in the same button.
One recursively creates a flatview collection of files from selected folders.
The other merges selected folders any way you want.
The natural refresh dynamics, at least so far, do show the power of Dopus.
Oh and add Set QUICKFILTERCLEAR before closing the dest tab in case the folders tab has been also Quick Filtered.