More unusual wildcard

Sharing and discussing custom search templates for LaunchBar
Post Reply
Posts: 2
Joined: Sun Jun 21, 2009 11:56 am

More unusual wildcard

Post by carnz » Sat Jun 27, 2009 5:13 pm


I think it would be better to use something more unusual than * for the search string wildcard.
I wanted to add to my search and I saw that they already use * in their search: ... &la=*&li=*

Objective Development
Objective Development
Posts: 648
Joined: Thu Nov 09, 2006 6:30 pm

Re: More unusual wildcard

Post by norbert » Tue Jun 30, 2009 10:54 am

  1. You can use %s instead. It takes precedence over the asterisk, so if your tempate contains both, the %s placeholder will be used.
  2. Only the first asterisk is replaced with the search string. Since the order of the arguments is irrelevant, you can always put the placeholder argument at the beginning.
  3. In this particular case the la and li arguments seem to be optional (the asterisk appears to be the default value), so you can simply omit them and use* for the search template.

Post Reply