BrandonTools

Windows tools, made by a guy named Brandon
Welcome to BrandonTools Sign in | Join | Help

REQUEST : %>n for Search Startlets

  •  09-07-2007, 5:05 PM

    REQUEST : %>n for Search Startlets

    I'm creating a alternative "play" search startlet to allow the creation of random playlists.

    The syntax I'm going for is :

    playr 10 billy talent

    This would create a random playlist of 10 tracks by billy talent.

    The problem I'm having is that I can't query with all the parameters except the first. I tried to use %2 %3 %4 %5 %6 %7 %8 %9 but in the previous example the query gets built as "billy talent %4 %5 %6 %7 %8 %9".

    What I really need is a %>1 like in command startlets to allow me to use everything after the first parameter.

    Also, it would be nice if the params could be passed to the script as an array (like, say, Params[0] instead of something like UserQuery.split(" ")[0]).

     

    Thank you

    Filed under: , , ,
View Complete Thread

Powered by Community Server (Personal Edition), by Telligent Systems