Rank: Newbie
Groups: Registered
Joined: 4/7/2022(UTC) Posts: 5 Location: Woodwark
|
I cant see where to go from here?
Hey man,
Cant get the code to work, can i get your assistance?
Starting Script "Timestamp" Script 'Timestamp' Error Line 8: Object reference not set to an instance of an object. Stopping Script "Timestamp"
Originally Posted by: elgarf Go to Quoted Post You can use script if you have 4K or Pro version.
Code: 'Text file for time marks dim FILENAME = "D:\out.txt"
'Get recording duration dim xml = API.XML() dim x as new system.xml.xmldocument x.loadxml(xml) dim Duration = integer.parse((x.SelectSingleNode("//recording/@duration").Value))
dim Second = math.floor(Duration mod 60) dim Minute = math.floor((Duration / 60) mod 60) dim Hour = math.floor((Duration / (60 * 60)) mod 60)
'Write recording duration to file System.IO.File.AppendAllText(filename, string.format("{0:00}:{1:00}:{2:00}"&Environment.NewLine, Hour, Minute, Second))
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 12/27/2012(UTC) Posts: 5,214 Location: Belgium Thanks: 290 times Was thanked: 952 time(s) in 787 post(s)
|
why double post ? (answer in the other one)
|
|
|
|
Rank: Newbie
Groups: Registered
Joined: 4/7/2022(UTC) Posts: 5 Location: Woodwark
|
More likely to get a response sooner....
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 12/27/2012(UTC) Posts: 5,214 Location: Belgium Thanks: 290 times Was thanked: 952 time(s) in 787 post(s)
|
Originally Posted by: NicholasBates More likely to get a response sooner.... Right , wrong section ( not a feature request) and making it harder for others having a similar issue to search and find an possible answer and by #####
|
|
|
|
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