Page 3 of 3

Re: second pane as a folder preview for the first pane (gif included)

Posted: 24 Sep 2017 13:30
by klownboy
Hi Sammay, thanks for the background info. I was a bit confused as to where you want me to set $P_FOLDERPANEPREVIEW_CONFIGSET last token to my CTB button index (in my case, 21). This where I changed the "-1" to "21".

Code: Select all

    $default_config = "0/1/:dpmoveto/1/-1|||/10/1/1/0/1/1/1/-1";  
If I start the script from the user defined command, I can exit the script with the CTB and visa versa, but never the same method to start and exit. I get the the error message, "A User-Defined command (#1434) is not allowed to call itself" if I try to cancel/exit the script by the same user defined command.
Yes, I recall Don stating that the trigger value is held only until the script is exited.
Thanks.

Re: second pane as a folder preview for the first pane (gif included)

Posted: 24 Sep 2017 14:14
by bdeshi
klownboy wrote:where you want me to set $P_FOLDERPANEPREVIEW_CONFIGSET
In #756 Scripting | Permanent Variables. The permanent variable is stored as a <crlf> separated value. So just change the last line of its value. (don't add a new line after it, ie don't press enter. just press OK or ctrl+enter.)
klownboy wrote:If I start the script from the user defined command, I can exit the script with the CTB and visa versa, but never the same method to start and exit.
Right, that's exactly the problem.

Re: second pane as a folder preview for the first pane (gif included)

Posted: 24 Sep 2017 15:04
by klownboy
Ok Sammay, I see when looking at the Perm variable listing that what I did previously, modifying the script itself, worked since the last value/token in $P_FOLDERPANEPREVIEW_CONFIGSET is now '21'. If I understand you correctly that change will allows the CTBstate to be updated when executing the script from various sources and I can see the state being changed when I alternately use the CTB assigned or the UDC, but in itself doesn't affect the issue of starting and stopping of the script from the same source. Thanks again.

Re: second pane as a folder preview for the first pane (gif included)

Posted: 24 Sep 2017 20:52
by admin
Didn't follow this too closely, but isn't that a basic form of Miller columns?

Re: second pane as a folder preview for the first pane (gif included)

Posted: 24 Sep 2017 22:23
by xy123
Yes and no. My suggestion is inspired by Miller columns, but I've decided that second pane as a folder preview (for the first pane) is better.

My suggestion:
Image

UltraExplorer implementation:
https://s26.postimg.org/sf0mis3nd/Colum ... plorer.gif

WinBrowser implementation:
https://s26.postimg.org/u454d3tyx/Colum ... rowser.gif

Re: second pane as a folder preview for the first pane (gif included)

Posted: 25 Sep 2017 05:09
by bdeshi
admin wrote:Didn't follow this too closely, but isn't that a basic form of Miller columns?
Yes, but there is no horizontal movement.