Rank: Member
Groups: Registered
Joined: 10/17/2020(UTC) Posts: 21
|
Hi All Can some on help me with the Web api command to set the Start Time Of the countdown? i can set the Duration With This Command Function=SetCountdown&SelectedIndex=2&Value=00:59:00&Input=1 But I couldent Find the Start Time command
best regards
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 12/27/2012(UTC) Posts: 5,243 Location: Belgium Thanks: 294 times Was thanked: 960 time(s) in 794 post(s)
|
These are your options countdown.JPG (37kb) downloaded 0 time(s).
|
|
|
|
Rank: Member
Groups: Registered
Joined: 10/17/2020(UTC) Posts: 21
|
Thank you For The replay I have tested all the option and didn't managed to make it work... only to set the duration
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 12/27/2012(UTC) Posts: 5,243 Location: Belgium Thanks: 294 times Was thanked: 960 time(s) in 794 post(s)
|
Maybe explain better what you like to achieve as there is NO StartTime in a countdown countdown2.JPG (44kb) downloaded 1 time(s).
|
|
|
|
Rank: Member
Groups: Registered
Joined: 10/17/2020(UTC) Posts: 21
|
clock.png (22kb) downloaded 0 time(s).I have this title with the Countdown I would like to control the star time and set it to 00:00:00 clock.png (8kb) downloaded 1 time(s).
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 12/27/2012(UTC) Posts: 5,243 Location: Belgium Thanks: 294 times Was thanked: 960 time(s) in 794 post(s)
|
I see, my mistake
Guess not then (by shortcut or web api)
|
|
|
|
Rank: Member
Groups: Registered
Joined: 10/17/2020(UTC) Posts: 21
|
thank you very much for the help
|
|
|
|
Rank: Newbie
Groups: Registered
Joined: 12/19/2020(UTC) Posts: 4
|
I am having trouble getting my clock to set duration.
Function=SetCountdown&Value=00:00:10&Input=CLOCK
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 12/27/2012(UTC) Posts: 5,243 Location: Belgium Thanks: 294 times Was thanked: 960 time(s) in 794 post(s)
|
Originally Posted by: BSSTL I am having trouble getting my clock to set duration.
Function=SetCountdown&Value=00:00:10&Input=CLOCK More details needed. Where/how are you using the function, is the input just named clock, is there a clock already specified in the title, what textblock is it supposed to be in ? ..............
|
|
|
|
Rank: Newbie
Groups: Registered
Joined: 12/19/2020(UTC) Posts: 4
|
Originally Posted by: doggy Originally Posted by: BSSTL I am having trouble getting my clock to set duration.
Function=SetCountdown&Value=00:00:10&Input=CLOCK More details needed. Where/how are you using the function, is the input just named clock, is ther a clock already specified in the title ? .............. Input 12 is named CLOCK. I am trying to make a script for several different durations. 3:00, 2:30, :20, I can get the clock to start by using function=StartCountdown&Input=CLOCK But cant get a script to work for changing duration
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 12/27/2012(UTC) Posts: 5,243 Location: Belgium Thanks: 294 times Was thanked: 960 time(s) in 794 post(s)
|
Originally Posted by: BSSTL Input 12 is named CLOCK. I am trying to make a script for several different durations. 3:00, 2:30, :20,
I can get the clock to start by using function=StartCountdown&Input=CLOCK
But cant get a script to work for changing duration
you need to make sure the input (textblock) is specified (when creating a shortcut , check what all is needed for comparison) you mention script for different durations , just wondering how you are making a decision in the script
|
|
|
|
Rank: Newbie
Groups: Registered
Joined: 12/19/2020(UTC) Posts: 4
|
Originally Posted by: doggy Originally Posted by: BSSTL Input 12 is named CLOCK. I am trying to make a script for several different durations. 3:00, 2:30, :20,
I can get the clock to start by using function=StartCountdown&Input=CLOCK
But cant get a script to work for changing duration
you need to make sure the input (textblock) is specified (when creating a shortcut , check what all is needed for comparison) you mention script for different durations , just wondering how you are making a decision in the script I am not understanding. My goal is to have have 3 shortcut buttons on my stream deck that do the same function. The only difference will be be the duration of the clock. Basically the 3 buttons will put another input online, and play either a 3:00, 2:30, or :20 clock depending on which shortcut button i push on my stream deck. I am very new to scripting and coding. Can you assist me with the clock duration line of command? I need it to set the duration of the countdown clock (input 12) to 3:00.
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 12/27/2012(UTC) Posts: 5,243 Location: Belgium Thanks: 294 times Was thanked: 960 time(s) in 794 post(s)
|
Originally Posted by: BSSTL I am not understanding.
My goal is to have have 3 shortcut buttons on my stream deck that do the same function. The only difference will be be the duration of the clock. Basically the 3 buttons will put another input online, and play either a 3:00, 2:30, or :20 clock depending on which shortcut button i push on my stream deck.
I am very new to scripting and coding. Can you assist me with the clock duration line of command?
I need it to set the duration of the countdown clock (input 12) to 3:00.
Makes 2 of us Shortcuts and vMix scripting are 2 different things ! Shotcuts can contain multiple functions at the same time (as can scripts) so for example: one shortcut can set the clock dor 3:00, activate the input wanted and oncountdowncompleted deactivate that input or whatever needs to be done after time is completed Regarding the setting of the countdown clock i mentioned before to check the items that are needed when you create a shortcut , more specifically your function does NOT contain the specific title line (Textblock) where your countdown is defined . if you want the function to be used in a script the same items and data are needed countdown.JPG (44kb) downloaded 0 time(s).
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 12/27/2012(UTC) Posts: 5,243 Location: Belgium Thanks: 294 times Was thanked: 960 time(s) in 794 post(s)
|
Function=SetCountdown&Input=CLOCK&Title=Headline.Text&Value=00:03:00
|
|
|
|
Rank: Newbie
Groups: Registered
Joined: 12/19/2020(UTC) Posts: 4
|
Originally Posted by: doggy Function=SetCountdown&Input=CLOCK&Title=Headline.Text&Value=00:03:00 what worked for me: FUnction=SetCountdown&Input=CLOCK&Value=00:00:10&SelectedName=Timer.Text
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 12/27/2012(UTC) Posts: 5,243 Location: Belgium Thanks: 294 times Was thanked: 960 time(s) in 794 post(s)
|
Originally Posted by: BSSTL Originally Posted by: doggy Function=SetCountdown&Input=CLOCK&Title=Headline.Text&Value=00:03:00 what worked for me: FUnction=SetCountdown&Input=CLOCK&Value=00:00:10&SelectedName=Timer.Text SelectedName or selectedIndex is def needed when using the API.function format as there "Title" doesn't work ;-) API.Function("SetCountdown",Input:="CLOCK",SelectedName:="Headline.Text",Value:="00:03:00")
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.
Important Information:
The vMix Forums uses cookies. By continuing to browse this site, you are agreeing to our use of cookies.
More Details
Close