logo

Live Production Software Forums


Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
john30120  
#1 Posted : Wednesday, June 5, 2024 6:53:26 AM(UTC)
john30120

Rank: Member

Groups: Registered
Joined: 8/8/2019(UTC)
Posts: 26
United States
Location: Georgia

Was thanked: 2 time(s) in 2 post(s)
I have a script that loops until the designated starting time then proceeds on to start a stream. Presently the starting time is hard coded as a string.
I would like to be able to enter the desired starting time as the script starts. How do you call up an inputbox at runtime?
nikosman88  
#2 Posted : Wednesday, June 5, 2024 8:32:54 AM(UTC)
nikosman88

Rank: Advanced Member

Groups: Registered
Joined: 12/24/2021(UTC)
Posts: 501
Greece
Location: athens

Thanks: 122 times
Was thanked: 71 time(s) in 67 post(s)
Originally Posted by: john30120 Go to Quoted Post
I have a script that loops until the designated starting time then proceeds on to start a stream. Presently the starting time is hard coded as a string.
I would like to be able to enter the desired starting time as the script starts. How do you call up an inputbox at runtime?

Hello. I dont know much for scripts. But im running this script https://github.com/rse/v.../master/recording-log.vb that when we set a dynamic value to "recording-marker-custom" it opens a dialog and you can write anything. I dont know if you can take this part of code and combine it for your needs. Also there is a thread for scripting https://forums.vmix.com/...ng-for-Dummies#post70735 maybe for take ideas.
doggy  
#3 Posted : Wednesday, June 5, 2024 10:13:25 AM(UTC)
doggy

Rank: Advanced Member

Groups: Registered
Joined: 12/27/2012(UTC)
Posts: 5,216
Belgium
Location: Belgium

Thanks: 291 times
Was thanked: 955 time(s) in 790 post(s)
Originally Posted by: john30120 Go to Quoted Post
I have a script that loops until the designated starting time then proceeds on to start a stream. Presently the starting time is hard coded as a string.
I would like to be able to enter the desired starting time as the script starts. How do you call up an inputbox at runtime?


have a "unused" title and enter the startime string in a textblock, let the script read it
john30120  
#4 Posted : Thursday, June 6, 2024 8:36:18 AM(UTC)
john30120

Rank: Member

Groups: Registered
Joined: 8/8/2019(UTC)
Posts: 26
United States
Location: Georgia

Was thanked: 2 time(s) in 2 post(s)
I have used titles to store variables and share that data between scripts. But it may not be possible to do what I'd like. What I want to do is start a script and have it ask the user the desired Start time. I know the script can enter data into the title but can the user input data into the script after it has been started?
doggy  
#5 Posted : Thursday, June 6, 2024 1:56:50 PM(UTC)
doggy

Rank: Advanced Member

Groups: Registered
Joined: 12/27/2012(UTC)
Posts: 5,216
Belgium
Location: Belgium

Thanks: 291 times
Was thanked: 955 time(s) in 790 post(s)
Originally Posted by: john30120 Go to Quoted Post
I have used titles to store variables and share that data between scripts. But it may not be possible to do what I'd like. What I want to do is start a script and have it ask the user the desired Start time. I know the script can enter data into the title but can the user input data into the script after it has been started?


No
Not in the script directly
nikosman88  
#6 Posted : Thursday, June 6, 2024 8:18:30 PM(UTC)
nikosman88

Rank: Advanced Member

Groups: Registered
Joined: 12/24/2021(UTC)
Posts: 501
Greece
Location: athens

Thanks: 122 times
Was thanked: 71 time(s) in 67 post(s)
So if this is not possible to do you can do a workaround with using bitfocus companion triggers or a 3rd party scheduler program for vmix that will do the action for streaming or start a script directly or via some other input
Users browsing this topic
Guest (2)
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.