Execute script without loop

You have a question or need an advice about how to do something? Ask it here!
Post Reply
jsonio
Posts: 34
Joined: 10 Dec 2018 11:39

Execute script without loop

Post by jsonio » 01 Oct 2020 11:51

Hello,

I've kinda stupid question !
I would like my really simple script to just load one random track from Mylibrary and that's it.
I wrote one line in my script for that but the script loops this line 1.

How can I execute script without looping the lines, executing just one time the line 1? :(
I tried LOOP LINE 2 but when I click on "TEST" it has no effect on it.

Thank you very much in advance,

jsonio

Online
User avatar
radio42
Site Admin
Posts: 6374
Joined: 05 Apr 2012 16:26

Re: Execute script without loop

Post by radio42 » 01 Oct 2020 13:36

I don't understand the background of your question?!
i.e. What do you want to achieve (I know just execute the script without looping, but for what reason and in which context)?

A script is normally used and assigned to a program scheduler entry. Thus, here it doesn't make any sense to execute it without looping, but to return only 1 single track.
Example: You have a program, that is defined to run for certain time span (e.g. 1 full hour or even only 15 minutes). If you would return only 1 track, the rest would result in silence.

However, there are other scenarios, where ProppFrexx could use a script and indeed only runs it without looping.
Examples:
- when using a script as an Fixed Time Element
- when using a script to play an Overlay
- when using a script inside an Embedded Container
- when using a script inside another script (Execute)
etc.

That is why I am asking about the context and the reasoning?!
Where do you want to use it without looping?

Post Reply

Who is online

Users browsing this forum: No registered users and 23 guests