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
zheng1112  
#1 Posted : Wednesday, April 19, 2023 3:55:37 PM(UTC)
zheng1112

Rank: Newbie

Groups: Registered
Joined: 10/31/2022(UTC)
Posts: 4
China
Location: beijing

I found that most functions in vmix scripts are not supported. If you can run external py files or execute cmd commands with scripts, it can become very powerful.

---The above information comes from Baidu Translate
nikosman88  
#2 Posted : Wednesday, April 19, 2023 5:07:10 PM(UTC)
nikosman88

Rank: Advanced Member

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

Thanks: 118 times
Was thanked: 68 time(s) in 64 post(s)
Yes it is possible to run python scripts. Of course for any action inside vmix you have to use vmix api
doggy  
#3 Posted : Wednesday, April 19, 2023 5:21:43 PM(UTC)
doggy

Rank: Advanced Member

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

Thanks: 291 times
Was thanked: 953 time(s) in 788 post(s)
zheng1112  
#4 Posted : Wednesday, April 19, 2023 7:46:45 PM(UTC)
zheng1112

Rank: Newbie

Groups: Registered
Joined: 10/31/2022(UTC)
Posts: 4
China
Location: beijing

Thank you, Doggy! It's already successful!

Dim startInfo As New ProcessStartInfo
startInfo.FileName = "C:\Users\asus\PycharmProjects\pythonProject\venv\Scripts\python.exe"
startInfo.Arguments = "d:\heh.py"
startInfo.UseShellExecute = False
startInfo.CreateNoWindow = True

Dim P As Process = Process.Start(startInfo)
P.WaitForExit()
Users browsing this topic
Guest
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.