INTERACT FORUM

More => Old Versions => Media Center 12 (Development Ended) => Topic started by: Robert Taylor on April 02, 2007, 06:13:56 pm

Title: New Smartlist Editor - How to use "OR"
Post by: Robert Taylor on April 02, 2007, 06:13:56 pm
Am I blind, stupid or both?

I can't for the life of me see how to use "or" in a smartlist rule.

ie. I want to find all albums starting with the word "Flying" or starting with the word "High".

What do I put in the smartlist editor box?

I thought I just seperated the text with commas, or put the word "or" between two quoted strings, but this does not appear to work.

I've searched forums and wiki, but thus far, found nothing to help.

Can one of you smartlist Wizards out there help out, please?
Title: Re: New Smartlist Editor - How to use "OR"
Post by: marko on April 03, 2007, 01:19:13 am
well, the old school string would have been al=[high" or al=[great"

so, I add a rule to the editor and paste that in, then OK that. The results are correct, so then hit the edit button to see what it's done...

(http://www.theganghut.co.uk/pics/ia/12/smart.jpg)

and there you go!

[blah" = 'starts with'
"blah] = 'ends with'
"blah" = contains
Title: Re: New Smartlist Editor - How to use "OR"
Post by: Robert Taylor on April 03, 2007, 01:32:38 am
Now...why didn't I think of doing that? ...duh...

Thanks for your help, Marko...
Title: Re: New Smartlist Editor - How to use "OR"
Post by: marko on April 03, 2007, 02:02:34 am
you're welcome.

I must say, it's a neat solution the team came up with. You've no idea how relieved I am that we can still enter search strings in this way as once you have a grasp on the syntax, it's so much quicker than all that clicking around. Respect is due for building the editor that way, for sure.

There's import and export now too, meaning that you could now download a txt file like this (http://www.theganghut.co.uk/files/mc/album%20begins%20with%20flying%20or%20great.txt) (right click, save as) and import it, and you'd be set. You might be none the wiser, but you'd be all set, just the same ;) :D

-marko.
Title: Re: New Smartlist Editor - How to use "OR"
Post by: Magic_Randy on April 03, 2007, 10:36:52 pm
I've noticed a benefit of the new editor that is supported by marko's comments.

MC is very powerful in the area of smartlists.  The biggest problem I've seen is how to make this capability available to the average user (like myself).  If you are not into programming, it's kind of difficult. 

Many times I've seen the syntax for more complex smartlists.  You can type it in, but how do you create a variation of it, or apply the concept to create other smartlists.

With the new editor, you can key/paste/import a smartlist string, and MC translates it back to the format of the editor.  All of a sudden, things become clear. 

So I consider the new editor a translator. ;D