This is a program I posted over at theSwamp.org, but I thought I'd share it with you guys here too.
Just a project I was working on recently, written for a bit of fun.
TabSort.lsp
Version 2.2
Program Controls:
Top: Move selected Tabs to the top of the list.
Up: Move selected Tabs up one notch in the list.
Down: Move selected Tabs down one notch in the list.
Bottom: Move selected Tabs to the bottom of the list.
Sort: Opens the Sort Dialog:
Alphabetical: Sort Tabs alphabetically:
Hence ~
("A23" "C22" "B3" "E7")
Becomes ~
("A23" "B3" "C22" "E7")
Numerical: Sort Tabs numerically:
Hence ~
("A23" "C22" "B3" "E7")
Becomes ~
("B3" "E7" "C22" "A23")
Architectural: Use an Architectural Sorting Method:
Hence ~
("A-1A" "B-3" "A-10C" "B-1.2" "B-1")
Becomes ~
("A-1A" "A-10C" "B-1" "B-1.2" "B-3")
Reverse: Reverse the Tab order.
Pref/Suff: Opens the Prefix/Suffix Dialog to allow the user to add a Prefix and/or Suffix to selected/all Tabs.
Add: Add a new layout Tab.
Delete: Deletes selected Tabs.
Copy: Copies the selected Tabs.
Current: Makes the selected Tab the Current Tab.
Find: Allows the user to perform a Find & Replace:
Done: Finished sorting Tabs, will implement sorting.
Reset: Will reset Tab names and Tab order ~ will not reset deleted/added Tabs.
Screenshot:
Enjoy!
Lee
Full Description here.
TabSortV2-2.lsp