I have found that the month view can get a bit sluggish when displaying a large set of records. My users are just fine with the idea of automatically filtering out events with a specific status ("open") from the month view. I have found the global variable "$$sc_Mode" and the script "Apply Filter to Found Set" and figure that I can leverage this to get the results I'm looking for. Here's what I have tried thus far. It works just as expected when I'm modifying an existing filter, but when I'm working with no existing filter (the second highlighted section in the image), my additional omit requests don't seem to have an effect. Is there someplace else where an empty $$sc_FilterCriteria might cause an issue?
Automatically filter the Month View?
5 posts
• Page 1 of 1
Posts: 18
Joined: Sat Feb 21, 2009 3:30 pm |
|
Posts: 2764
Joined: Thu Nov 20, 2003 11:01 am |
Nicely done. But if you want to use "filters" you'll need to also set $$sc_FilterCriteria variable. I'd set this at the beginning of the script and then let the looping Find run as is, instead of adding your criteria afterwards.
John Sindelar
SeedCode |
Posts: 18
Joined: Sat Feb 21, 2009 3:30 pm |
John,
Thanks for the push in the right direction. After a bit of experimentation, I ended up tying the filter modification to the script "Go to Calendar Tab ( Tab Name )" instead. This allows the end user to modify the filter after navigation, but keeps them from getting stuck with a very slow screen redraw. I may need to add some code to set the user accessible filter fields so the UI isn't quite so wonky, but the behavior is very close to what I'm after. Here's where I ended up. - Charlie Bailey |
Posts: 2764
Joined: Thu Nov 20, 2003 11:01 am |
Nice. Hey, what do you use for screen caps / annotation? I've been using Skitch (http://skitch.com/) but have been thinking about Jing (http://www.techsmith.com/jing) but can't get it to install properly.
John Sindelar
SeedCode |
Posts: 18
Joined: Sat Feb 21, 2009 3:30 pm |
I use Snapz Pro for daily stuff like screen shots of scripts or graphs (mostly out of habit) so I don't have to print, but as soon as I need to share I use Skitch because it's just so easy. I recently switched to the paid version (Skitch Plus), not so much because the paid features are better, but because I wanted to support the project. Now if they'll just add movie capture...
|
5 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 2 guests