View Manager v1.5 (08-10-08) [MM3]

Post a reply

Smilies
:D :) :( :o :-? 8) :lol: :x :P :oops: :cry: :evil: :roll: :wink:

BBCode is ON
[img] is ON
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: View Manager v1.5 (08-10-08) [MM3]

Re: View Manager v1.5 (08-10-08) [MM3]

by MoDementia » Fri Oct 17, 2008 2:35 am

Apparently there may be a problem restoring the view on startup executing the script before MM is really ready for it
If you are experiencing any problems with erratic filter output change line 32 from

Code: Select all

  RestoreOnStartup = True
to

Code: Select all

  RestoreOnStartup = False
This should fix it until I can investigate it further over the weekend

Re: View Manager v1.5 (08-10-08) [MM3]

by MoDementia » Tue Oct 07, 2008 9:38 pm

New Version

' 29-08-08 Version 1.5
' Fixed Restore on Startup remembers node

I think I fixed this ages ago but never released it :(

Re: View Manager v1.4 (29-08-08) [MM3]

by stan9980 » Tue Oct 07, 2008 7:53 pm

Aha, I thought it was my lack of coding ability that was missing it when poking about! Still love the script.

Cheers,

Stan9980

Re: View Manager v1.4 (29-08-08) [MM3]

by MoDementia » Tue Oct 07, 2008 7:39 pm

I would love to but I can't find the data :(
see request here

Re: View Manager v1.4 (29-08-08) [MM3]

by stan9980 » Tue Oct 07, 2008 7:11 pm

Great indeed :D ...

Would it be possible to also save the sort order of the view?

Cheers,

Stan9980

Re: View Manager v1.4 (29-08-08) [MM3]

by Bex » Sat Aug 30, 2008 3:41 am

Great solution! :D

Re: View Manager v1.4 (29-08-08) [MM3]

by nynaevelan » Thu Aug 28, 2008 9:06 pm

I know where it is natively, I THOUGHT I saw it on the menu below a separator. You're playing with my mind, aren't you???

Nyn

Re: View Manager v1.4 (29-08-08) [MM3]

by MoDementia » Thu Aug 28, 2008 9:01 pm

That's right click on the library node Library --> Filters --> Down the bottom :)

Re: View Manager v1.4 (29-08-08) [MM3]

by nynaevelan » Thu Aug 28, 2008 8:49 pm

I must be losing my mind, I could have sworn it was at the bottom of the menu. :oops: :oops:

Nyn

Re: View Manager v1.4 (29-08-08) [MM3]

by MoDementia » Thu Aug 28, 2008 8:38 pm

? it was never on there?

Re: View Manager v1.4 (29-08-08) [MM3]

by nynaevelan » Thu Aug 28, 2008 8:23 pm

You took away the ability to get to the Manage Filters Menu from the script??

Nyn

Re: View Manager v1.4 (29-08-08) [MM3]

by MoDementia » Thu Aug 28, 2008 8:01 pm

New Version

' 29-08-08 Version 1.4
' Added Refresh (Filter) Menu

Re: View Manager v1.3 (28-08-08) [MM3]

by Bex » Thu Aug 28, 2008 6:31 pm

Yeah, or if you just rename one.
Perhaps you could compare the names? The relatively new group_concat function in SQLite is rather nifty and can be used for this purpose.

Code: Select all

FilterNames=SDB.Database.OpenSQL("SELECT GROUP_CONCAT(Name) FROM Filters ORDER BY ID").valuebyindex(0)
   If Not SDB.IniFile.StringValue("ViewManager","FilterNames")=FilterNames Then Exit Sub

Re: View Manager v1.3 (28-08-08) [MM3]

by MoDementia » Thu Aug 28, 2008 6:18 pm

Hehehe I also thought about that , it doesn't work if you add and delete the same amount of filters i.e. you add 1 and delete 1 :(

I will try and do another version with an option to use either method.

Re: View Manager v1.3 (28-08-08) [MM3]

by Bex » Thu Aug 28, 2008 6:16 pm

I just tested it and it needs some more work but I'm sure you get the picture and sort it out! :D

Top