Page 1 of 1

Saved column layout not being applied

Posted: 12 Dec 2014 18:23
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?

Re: Saved column layout not being applied

Posted: 12 Dec 2014 18:40
by admin
I already got scared that you're a bug magnet, but this one I cannot reproduce. Works fine here.

Re: Saved column layout not being applied

Posted: 12 Dec 2014 18:54
by aliteralmind
That just made my day :)

Here's a screencast: http://screencast.com/t/YlujkX01g

Re: Saved column layout not being applied

Posted: 12 Dec 2014 19:45
by admin
Oh, I did no read carefully. Truth is: Column Layout does not store the sort order.

Re: Saved column layout not being applied

Posted: 12 Dec 2014 19:51
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");

Re: Saved column layout not being applied

Posted: 12 Dec 2014 20:02
by admin
SC sortby. :)

Re: Saved column layout not being applied

Posted: 12 Dec 2014 20:06
by aliteralmind
Excellent.

(I like XYplorer. Did I mention that?)

Re: Saved column layout not being applied

Posted: 13 Dec 2014 00:21
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.

Re: Saved column layout not being applied

Posted: 13 Dec 2014 09:53
by admin
Nice! (Although you might rename your column layout "name_path_only__order_by_path"...)