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
Delavor  
#1 Posted : Tuesday, September 26, 2017 2:59:01 PM(UTC)
Delavor

Rank: Newbie

Groups: Registered
Joined: 5/4/2015(UTC)
Posts: 6
Location: Poland, Warsaw

Hi,

Anyone know how can I select input to preview via VB scripting?
I tried Input.Find("Name").Function("PreviewInput") but this set Input to Output :/
DWAM  
#2 Posted : Tuesday, September 26, 2017 3:43:22 PM(UTC)
DWAM

Rank: Advanced Member

Groups: Registered
Joined: 3/20/2014(UTC)
Posts: 2,721
Man
France
Location: Bordeaux, France

Thanks: 243 times
Was thanked: 794 time(s) in 589 post(s)
Hi

are you sure? It is the correct command to use for preview I believe...
Delavor  
#3 Posted : Tuesday, September 26, 2017 6:34:06 PM(UTC)
Delavor

Rank: Newbie

Groups: Registered
Joined: 5/4/2015(UTC)
Posts: 6
Location: Poland, Warsaw

Doesn't work :/

Code:

Input.Find("Colour").Function("Fade",,3000)
dim i
for i=75 to 0 step -1
  sleep(60)
  Input.Find("RL Music").Function("SetVolume", i)
next i
Input.Find("Intro").Function("Cut")
Input.Find("Studio").Function("PreviewInput")
Sleep(20000)
Input.Preview.Function("Stinger1")
for i=100 to 0 step -1
  sleep(40)
  Input.Find("Intro").Function("SetVolume", i)
next i
stigaard  
#4 Posted : Wednesday, September 27, 2017 1:41:57 AM(UTC)
stigaard

Rank: Advanced Member

Groups: Registered
Joined: 5/20/2015(UTC)
Posts: 493
Man
Denmark
Location: Copenhagen, Denmark

Thanks: 389 times
Was thanked: 100 time(s) in 79 post(s)
Try using the PreviewInput such as this:
Code:
API.Function("PreviewInput", "YOUR INPUT NAME HERE")


EDIT: Changed from Input to API in code. Just a typo.. :-)
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.