John's Adventures

John's Adventures Forum » Support (John's Background Switcher)

How to use exclude filter

 (4 posts) (2 voices)
  • Started 8 months ago by Kenny_Duehit
  • Latest reply from John Conners
  1. Kenny_Duehit
    Member
    Posted 8 months ago #

    I want to use the Exclude pictures that contain the following expression, but I want to use it for multiple expressions.

    A) is this possible?
    B) how do I format the expressions

    screencap example included. (I thought perhaps ; would be the separator)

    http://i674.photobucket.com/albums/vv107/Kenny_Duehit/screencap.jpg

  2. John Conners
    Administrator
    Posted 8 months ago #

    Ok, this is something I plan on improving in future versions but in the meantime it uses a regular expression which is a very powerful (i.e. difficult for those not in the know to use) way of string matching.

    So in your case you could do this:

    (nsfw)|(highres)|(cars)

    That will exclude any picture that contains 'nsfw', 'highres' or 'cars' in the full path.

    If you really want to master regular expressions or see some more examples, here's a good place to look (although it's not for the feint hearted):

    http://www.regular-expressions.info/

    Hope that helps!

  3. Kenny_Duehit
    Member
    Posted 8 months ago #

    Thank you very much, I understand now. Being a Script writer, this is now like English to me.

    Being I know the full power of this method I would suggest keeping this form of power in the program, but also having a simple terminator (;) separator.

    Thanks very much and keep up the great work.

    Kenny Duehit

  4. John Conners
    Administrator
    Posted 8 months ago #

    Ah good, wasn't sure if you were regex savvy or not! I'll definitely keep the regex option in addition to whatever else I add as it's much more powerful!

    And will do!


Reply To This Topic

You must log in to post.