Custom Button & Group view

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
pimpi
Posts: 8
Joined: 16 Jun 2015 10:35

Custom Button & Group view

Post by pimpi »

Hello,

how can I create a custom button in the toolbar for open Dropbox or Google drive for example? Drag n drop from the tree view seems not supported.

How can I set 2 sortings? I like to Sort by creating time and group it for type file like on the windows explorer. Is this possible?

Thanks for any hint.

Cheers
pimpi

jupe
Posts: 3478
Joined: 20 Oct 2017 21:14
Location: Win10 22H2 120dpi

Re: Custom Button & Group view

Post by jupe »

This link below describes how to make a Custom button for multiple paths, so just follow the instructions and input the path you see in your XY address bar when you are in one of those paths you want.
https://www.xyplorer.com/release_11.00. ... ownButtons

As an alternative if you want Drag and Drop shortcut abilities you should check out the catalog: https://www.xyplorer.com/tour.php?page=catalog

If you want the list divided into separate groups, XY doesn't do that, but you can use secondary sorting to achieve the same, hold shift when clicking the column header to do that via GUI.

The help file will be able to answer all these sort of questions if you search it.

pimpi
Posts: 8
Joined: 16 Jun 2015 10:35

Re: Custom Button & Group view

Post by pimpi »

Hello Jupe,

thanks for your help. Just tried the SHIFT klick in the Detail List view... regrettably nothing sorted as second... I can see the grey arrow jumps up and down, but the files are not affected.

Any idea what could be the problem?

Cheers
pimpi

jupe
Posts: 3478
Joined: 20 Oct 2017 21:14
Location: Win10 22H2 120dpi

Re: Custom Button & Group view

Post by jupe »

Read up about it in the help file.

you can paste the following into the XY address bar for more information on "Secondary Sorting" if you are interested:

Code: Select all

::help "idh_listview.htm#idh_listviewcolumns";

pimpi
Posts: 8
Joined: 16 Jun 2015 10:35

Re: Custom Button & Group view

Post by pimpi »

ok, I will do that.
Regarding the Button for Dropbox drive. I have config a Cutom button and paste this line into the Script window:

open 'C:\Users\pimpi\Dropbox\'

It works, but the dropbox is opening in the Windows Explorer and not in the current tab or in a new tab inside XY.

Cheers
pimpi

jupe
Posts: 3478
Joined: 20 Oct 2017 21:14
Location: Win10 22H2 120dpi

Re: Custom Button & Group view

Post by jupe »

Just the path no open, no quotes, like in the link I provided showed in the screenshots, so just this in the "On Left click" field:

C:\Users\pimpi\Dropbox\

pimpi
Posts: 8
Joined: 16 Jun 2015 10:35

Re: Custom Button & Group view

Post by pimpi »

Hi jupe,

this is what I tried all the time before, but I get always an scripting error
21-08-_2018_13-43-04.png
With "open" ther is no error.

Cheers
pimpi
To see the attached files, you need to log into the forum.

jupe
Posts: 3478
Joined: 20 Oct 2017 21:14
Location: Win10 22H2 120dpi

Re: Custom Button & Group view

Post by jupe »

If you are editing a custom button, and it looks like this there should be no error, for single paths don't press the edit button, paste the path directly in the field as shown here, or make sure there aren't empty lines in the multi-line popup:
2018-08-21_214856a.png
otherwise change "open" to "goto", and leave it how you had it.
To see the attached files, you need to log into the forum.

pimpi
Posts: 8
Joined: 16 Jun 2015 10:35

Re: Custom Button & Group view

Post by pimpi »

Hello jupe,

thanks again for your help.
If I do it without any other entry then the path in the left click field, it works. Oddly, when I set a Name or Icon, I get that scripting error again on clicking the button.

When I use the way via goto 'C:\.....' I can set a Name and a custom Icon without any error message.
May this is a little bug? Anyway, I will do it in future with the goto command.

Cheers
gieri

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

Re: Custom Button & Group view

Post by admin »

It's not a bug. What you are using is a special shorthand way to quickly go to a place via button. If you want to customize caption and icon then you have to enter a valid script into the "on left-click" field. Something like

Code: Select all

goto "C:\";

Post Reply