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

Features wanted...
klownboy
Posts: 4467
Joined: 28 Feb 2012 19:27
Location: Windows 11, 25H2 Build 26200.8737 at 100% 2560x1440

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

Post 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.

bdeshi
Posts: 4256
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612
Contact:

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

Post 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.
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]

klownboy
Posts: 4467
Joined: 28 Feb 2012 19:27
Location: Windows 11, 25H2 Build 26200.8737 at 100% 2560x1440

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

Post 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.

admin
Site Admin
Posts: 66514
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

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

Post by admin »

Didn't follow this too closely, but isn't that a basic form of Miller columns?

xy123
Posts: 217
Joined: 17 Sep 2017 11:46
Location: Win10 64-bit, @100%

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

Post 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

bdeshi
Posts: 4256
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612
Contact:

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

Post 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.
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]

Post Reply