How to get current preview source in pgm without specifying number

4 posts / 0 new
Last post
Offline

Location

Sundsvall
Sweden
Joined: 12/12/2016
Posts: 3
How to get current preview source in pgm without specifying number

I´m trying to get a macro working that will move whatever source I have in ME1PVW window to ME1 PGM window. 

When I try to record a cut command I get a macro that also specifies which source that is put in PGM and this doesnt work for me since I want to be able to havee different sources in preview and when I run the macro I want the current preview to go into program (on air).
For ExampIe it records ATEMMixerMESetProgramInput (1, 1, 3) where 3 seems to specify what is outputted to PGM. 

Hope you get the question/issue I´m struggling with.
 

Offline

Location

Regensburg
Germany
Joined: 27/11/2015
Posts: 5
If i understand you corretly

If i understand you corretly you could just use the

ATEMMixerMECut(1,1) to exectue a cut. 

If you wanted to do a Auto transition the command would be:

ATEMMixerMEAutoTransition(1,1)

 

(1,1) always specifies the Mixer and the M/E of the Mixer (in this order)

 

Hope this helps

Offline

Location

Sundsvall
Sweden
Joined: 12/12/2016
Posts: 3
Worked!
Legionaer91 wrote:

If i understand you corretly you could just use the

ATEMMixerMECut(1,1) to exectue a cut. 

If you wanted to do a Auto transition the command would be:

ATEMMixerMEAutoTransition(1,1)

 

(1,1) always specifies the Mixer and the M/E of the Mixer (in this order)

 

Hope this helps

Yep, it did the trick! Big thanx  @Legionaer91!

JohnBengston's picture
Offline

Location

London
United Kingdom
Joined: 14/01/2012
Posts: 2144
Many thanks to "Legionaer91"

Many thanks to "Legionaer91" and everyone else for answering questions when I am away for the forum for short periods, I can't really explain how it makes me feel, but very grateful is close. Sorry when I do have away periods, I do try to minimise them and it's only because I get very busy on client projects from time to time, it's cool when advanced users can help out the newbies and I'm always very grateful!