scrips randomly

You have a question or need an advice about how to do something? Ask it here!
Post Reply
User avatar
yourx
Posts: 42
Joined: 04 Feb 2019 17:32
scrips randomly

Post by yourx »

Question how can i select scrips randomly

Greet Henry
User avatar
radio42
Site Admin
Posts: 8295
Joined: 05 Apr 2012 16:26
Location: Hamburg, Germany
Contact:
Re: scrips randomly

Post by radio42 »

I can only guess what you effectively mean (as your question is not really detailed), but I guess you want to select a random script for a program scheduler entry?
Each program has a single script associated. Ie. it is not possible to select a random script for a given program scheduler entry.
But you can (within a script) randomly select a media library or randomly select a track from any give media library.

In addition you can (within a script) also 'Execute' another script (the Count parameter of a script-line will define how many rows should be returned by that execution). When you specify the 'Ramdom' mode for the entire script, you can randomly select any script-line to use next.

But maybe you can explain what exactly you would like to achieve and why. I can then try to specify a fitting solution to your use-case.
User avatar
yourx
Posts: 42
Joined: 04 Feb 2019 17:32
Re: scrips randomly

Post by yourx »

Mini specials!
This is my script for one special.
Track 1: Announcement jingle (selected)
Track 2: random music track from category
Track 3: Jingle (selected)
Track 4: random music track from category
Track 5: Jingle (selected)

I want to randomly call and post this short script via Overlay scheduler
User avatar
radio42
Site Admin
Posts: 8295
Joined: 05 Apr 2012 16:26
Location: Hamburg, Germany
Contact:
Re: scrips randomly

Post by radio42 »

Same answer as above.
For a program or overlay you can not randomly select the script.
But you can use the Execute option as explained above - assuming all special script have 5 script-line use Count=5.
User avatar
yourx
Posts: 42
Joined: 04 Feb 2019 17:32
Re: scrips randomly

Post by yourx »

Thanks Bernd.

Post Reply