SessMgr: Sort your sessions by date

Post user created macros to share with others here.

Moderator: Moderators

SessMgr: Sort your sessions by date

Postby Bret Sutton on Thu Sep 07, 2006 6:59 am

I like to sort my sessions by date, since I'm usually interested in the most recently used sessions (and I tend to let them collect). So I added a sort-by-date to the Session Manager.

The attached version of SessMgr.s includes David Deley's string-length changes. See this thread for more information:
http://www.multiedit.com/forums/viewtopic.php?t=1482

I prefer to name my versions of macro files the same as the original. The first thing I do when I install a new version of ME is to create a subdirectory of SRC, called ORIG, and copy all the factory-issue source to that directory. Then I can modify the versions in SRC with impunity, and the standard 'Recompile Macro Source' and 'Rebuild Macro Library' shortcuts will include my versions. If you download and compile this file, please first save your original SessMgr.s to another directory!
Attachments
sessmgr.zip
zipped sessmgr.s
(14.77 KiB) Downloaded 963 times
Bret Sutton
COBOL dinosaur
Author of the NWS macro series
User avatar
Bret Sutton
Registered User
 
Posts: 153
Joined: Fri Sep 12, 2003 5:14 am
Location: Seattle

Postby deleyd on Fri Sep 08, 2006 5:45 am

Thanks Brett. It's nice. I made one change to line 1362, added +21 to the /HSCROLL width to widen it to account for the date field.

Code: Select all
'/DELWCMD=' + str(sm_delete_ctrl) + '/HSCROLL=' + str(maxlength + 21 + 45)); //DWD


(Though my attachment is "SessMgrBRET2.s" it will still compile to "SessMgr.mac" because of the "macro_file SessMgr" at the beginning of the file. I'll mention this is for Multi-Edit 10.02 (ME2006))
Attachments
SessMgrBRET2.s
(57.75 KiB) Downloaded 1039 times
User avatar
deleyd
Developer
 
Posts: 1019
Joined: Tue Jul 29, 2003 4:27 pm
Location: Santa Barbara, CA

Thanks Brett and deleyd

Postby shanevincent on Wed Oct 04, 2006 9:22 pm

Thanks for another great enhancement to ME! Works very well.
Shane Vincent
shanevincent
Registered User
 
Posts: 14
Joined: Mon May 24, 2004 4:34 pm


Return to User Created Macros

Who is online

Users browsing this forum: No registered users and 0 guests