vMix Forums
»
General
»
GT
»
Countdown timers
Rank: Newbie
Groups: Registered
Joined: 2/8/2022(UTC) Posts: 1 Location: Raleigh, NC Thanks: 1 times
|
I have searched but I cannot find the XAML string that will allow my timer to run to a day and time. I'm trying to get it to countdown to our Sunday worship start time and then reset to the next Sunday.
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 12/27/2012(UTC) Posts: 5,216 Location: Belgium Thanks: 291 times Was thanked: 955 time(s) in 790 post(s)
|
Originally Posted by: Video Team I have searched but I cannot find the XAML string that will allow my timer to run to a day and time. What is an XAML String ? Quote:I'm trying to get it to countdown to our Sunday worship start time and then reset to the next Sunday. very recent posts to get started ?: https://forums.vmix.com/...clock-more-than-24-hours
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 12/27/2012(UTC) Posts: 5,216 Location: Belgium Thanks: 291 times Was thanked: 955 time(s) in 790 post(s)
|
Originally Posted by: Video Team I have searched but I cannot find the XAML string that will allow my timer to run to a day and time. I'm trying to get it to countdown to our Sunday worship start time and then reset to the next Sunday. A PM stating "I've already looked through those. It doesn't help me." refering to the link posted showing an examples script for a countdown more than 24 hrs is not very helpful to give additional help. the vMix intrnal countdown is limited hence refering to a script. now a script has to be tailored to your specific needs. The script does eactly what you asked initially "timer to run to a day and time" in essence when the countdown finishes one has to add the amount of days to your initial countdown data/time to start over the countdown for your second request You dont mention if your system is running 24hrs or not . This is important as a script does not continue running when vMix is clossed as such one needs to take this into account here is an example of adding days for the next worship days and time: Code:Dim enddate As DateTime = DateTime.Parse("2024-1-13 09:40:00")
Do while true
console.writeline(enddate.tostring("ddd-dd-MM-yyyy"))
sleep(1000)
enddate=enddate.AddDays(7)
loop
|
|
|
|
vMix Forums
»
General
»
GT
»
Countdown timers
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