Page 1 of 1

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

Posted: 06 Jun 2017 08:48
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

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

Posted: 06 Jun 2017 08:56
by highend
On left click it's a Thumbnails #1 on/off button. Right click it...

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

Posted: 06 Jun 2017 09:04
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

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

Posted: 06 Jun 2017 09:25
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...

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

Posted: 06 Jun 2017 11:03
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:

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

Posted: 06 Jun 2017 16:34
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

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

Posted: 06 Jun 2017 16:38
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

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

Posted: 06 Jun 2017 16:46
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

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

Posted: 06 Jun 2017 17:13
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