can i set the thumbnails view button to show thumbs #2?

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
giuliastar
Posts: 365
Joined: 14 Sep 2013 07:22

can i set the thumbnails view button to show thumbs #2?

Post by giuliastar »

Hi

i have read the manual but i haven't found an answer

about the thumbnails view button , when i click ,it swtiches to thumbails view #1 , can i change its behavior ?

i mean click the thumbnails view button and switch to thumbnails view #2?

thanks

highend
Posts: 13327
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: can i set the thumbnails view button to show thumbs #2?

Post by highend »

On left click it's a Thumbnails #1 on/off button. Right click it...
One of my scripts helped you out? Please donate via Paypal

giuliastar
Posts: 365
Joined: 14 Sep 2013 07:22

Re: can i set the thumbnails view button to show thumbs #2?

Post by giuliastar »

highend wrote:On left click it's an on/off button. Right click it...
hi
but the defual is always thumbails view #1
i have tried to change to thumbails view #2
but i can't change the default to view#2
thanks

Image

highend
Posts: 13327
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: can i set the thumbnails view button to show thumbs #2?

Post by highend »

You can't change it's left click function.

You need a button with a script to do what you want

Copy the content inside the code tags into the clipboard
Add a user defined button
Right click that button, choose "Edit..."
Right click the "Clear" button and choose "Paste snippet"

Code: Select all

Snip: CTB 1
  XYplorer 17.90.0402, 06.06.2017 09:55:43
Action
  NewUserButton
Name
  Thumbnails #2 View
Icon
  :viewthumbs
ScriptL
  $view = get("view");
      switch ($view) {
          case 5:
              #302; break;
          case default:
              #307;
      }
ScriptR
  
FireClick
  0
It switches between thumbnails #2 and details mode...
One of my scripts helped you out? Please donate via Paypal

giuliastar
Posts: 365
Joined: 14 Sep 2013 07:22

Re: can i set the thumbnails view button to show thumbs #2?

Post by giuliastar »

highend wrote:You can't change it's left click function.

You need a button with a script to do what you want

Copy the content inside the code tags into the clipboard
Add a user defined button
Right click that button, choose "Edit..."
Right click the "Clear" button and choose "Paste snippet"

Code: Select all

Snip: CTB 1
  XYplorer 17.90.0402, 06.06.2017 09:55:43
Action
  NewUserButton
Name
  Thumbnails #2 View
Icon
  :viewthumbs
ScriptL
  $view = get("view");
      switch ($view) {
          case 5:
              #302; break;
          case default:
              #307;
      }
ScriptR
  
FireClick
  0
It switches between thumbnails #2 and details mode...
Hi
thanks a lot
it should added in the next update the possibility to customize the thumbnails view button
i will use your script :tup:

giuliastar
Posts: 365
Joined: 14 Sep 2013 07:22

Re: can i set the thumbnails view button to show thumbs #2?

Post by giuliastar »

highend wrote:You can't change it's left click function.

You need a button with a script to do what you want

Copy the content inside the code tags into the clipboard
Add a user defined button
Right click that button, choose "Edit..."
Right click the "Clear" button and choose "Paste snippet"

Code: Select all

Snip: CTB 1
  XYplorer 17.90.0402, 06.06.2017 09:55:43
Action
  NewUserButton
Name
  Thumbnails #2 View
Icon
  :viewthumbs
ScriptL
  $view = get("view");
      switch ($view) {
          case 5:
              #302; break;
          case default:
              #307;
      }
ScriptR
  
FireClick
  0
It switches between thumbnails #2 and details mode...
hi
may i ask you a question?
how can i learn more about these scripts?
i'm reading the code

Code: Select all

ScriptL
  $view = get("view");
      switch ($view) {
          case 5:
              #302; break;
          case default:
              #307;
      }
ScriptR
  
FireClick
  0
but where is in the script the command line to run viewthumbs 2
may i know how will be the script for example viewthumb 3 , just to compare them?
thanks a lot

highend
Posts: 13327
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: can i set the thumbnails view button to show thumbs #2?

Post by highend »

This is the command

Code: Select all

#307;
Thumbnail #3 can be invoked with

Code: Select all

#308;
Menu - Help - List All Commands...

Shows all those internal XY commands
One of my scripts helped you out? Please donate via Paypal

giuliastar
Posts: 365
Joined: 14 Sep 2013 07:22

Re: can i set the thumbnails view button to show thumbs #2?

Post by giuliastar »

highend wrote:This is the command

Code: Select all

#307;
Thumbnail #3 can be invoked with

Code: Select all

#308;
Menu - Help - List All Commands...

Shows all those internal XY commands
hi
i have found it
Image

will be amazing a macro record to create a script ,or is it so simple to create a xyplorer script?
i mean a more complex script
thank you so much

highend
Posts: 13327
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: can i set the thumbnails view button to show thumbs #2?

Post by highend »

Don't know what to answer. I personally don't find it too complicated. Your mileage may vary...

There is no working macro creator for XY
One of my scripts helped you out? Please donate via Paypal

Post Reply