Saved column layout not being applied

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
aliteralmind
Posts: 261
Joined: 02 Dec 2014 16:49

Saved column layout not being applied

Post by aliteralmind »

I have this layout, and then I save it by right-clicking on the column headers and then "Save column layout as...".

Image

Then I add a column and change the ordering (the "save" notification is lingering from saving it a moment ago).

Image

Then I load that just-saved layout, and although the added columns are correctly removed, the ordering isn't applied.

Image

Why isn't the saved order being applied?
Windows 8.1, 64-bit

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

Re: Saved column layout not being applied

Post by admin »

I already got scared that you're a bug magnet, but this one I cannot reproduce. Works fine here.

aliteralmind
Posts: 261
Joined: 02 Dec 2014 16:49

Re: Saved column layout not being applied

Post by aliteralmind »

That just made my day :)

Here's a screencast: http://screencast.com/t/YlujkX01g
Windows 8.1, 64-bit

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

Re: Saved column layout not being applied

Post by admin »

Oh, I did no read carefully. Truth is: Column Layout does not store the sort order.

aliteralmind
Posts: 261
Joined: 02 Dec 2014 16:49

Re: Saved column layout not being applied

Post by aliteralmind »

Okay.

How then do I sort the following report by path? I don't see any sorting in the the report template options.

Code: Select all

loadsearch "All applications", rle; columnlayout("name_path_only__order_by_path"); writefile("C:\data_jeffy\app_settings\lenovo_windows_8_64bit_home_pc\all_installed_applications_CREATED_BY_XYPLORER.txt", report("{Fullname}<crlf>")); tab("close");
Windows 8.1, 64-bit

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

Re: Saved column layout not being applied

Post by admin »

SC sortby. :)

aliteralmind
Posts: 261
Joined: 02 Dec 2014 16:49

Re: Saved column layout not being applied

Post by aliteralmind »

Excellent.

(I like XYplorer. Did I mention that?)
Windows 8.1, 64-bit

aliteralmind
Posts: 261
Joined: 02 Dec 2014 16:49

Re: Saved column layout not being applied

Post by aliteralmind »

The final script, for future newbies:

Code: Select all

loadsearch "All installed applications", rle; columnlayout("name_path_only__order_by_path"); sortby "Path"; writefile("C:\data_jeffy\app_settings\lenovo_windows_8_64bit_home_pc\all_installed_applications_CREATED_BY_XYPLORER.txt", report("{Fullname}<crlf>")); tab("close"); exit;
Which is called via a batch file with

Code: Select all

call C:\applications\utilities\XYplorer\XYplorer.exe /ini /script="print_all_installed_applications_to_file"
(The "/ini" forces a new instance.) Or directly in the address bar, with:

Code: Select all

:: load "print_all_installed_applications_to_file"
This is a list of every installed application, as part of my automated computer backup.
Windows 8.1, 64-bit

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

Re: Saved column layout not being applied

Post by admin »

Nice! (Although you might rename your column layout "name_path_only__order_by_path"...)

Post Reply