You are here

Blackmagic ATEM Macros ▶︎ How to Record and Edit Complex Scripts!

Photo Moment - June 15, 2018

Do you own a Blackmagic ATEM 1M/E, 2M/E, Television Studio or any other ATEM you can control with Macros? If you aren't sure how to make them, consider this your guide to getting started!

10:29 | How I’m doing today’s show
13:01 | A simple macro
23:35 | The sleep command
26:35 | A complex macro
49:17 | Strata iOS apps


Products Mentioned In Today's Photo Moment


Videos Mentioned In Today's Photo Moment


Other Links Mentioned In Today's Photo Moment

Information on my Feb 2019 Photography Workshop in India

Leave a comment on YouTube

Comments from YouTube

Man, that was a long one! I think I covered it all though. If you have any questions remaining, ask them below.

See something on the show that you want to buy?
Head on over to

•• Strata Pro for iOS ATEM Switcher ••
iTunes -

•• Strata Macros for iOS ATEM Switcher ••
iTunes -

•• Blackmagic Design ATEM 2 M/E Production Studio 4K ••
B&H -
Amazon -
Adorama -
This was super helpful! My question is how can I run a macro using a Stream Deck on a PC?
Gotcha. I did just found out how using Companion with my Stream Deck. I run both Mac and PC here. Thanks!!
VSCode is an awesome, free, cross platform, editor for xml files like the ATEM macros. I have created an extension for ATEM macros to make it easy to edit and insert actions with hints for all the parameters.
Thank you so much for the helpful video! We just implemented 5 ATEM 4M/E switchers into our studios at our IT training company. I created multiple different "double box" macros for our shows, however, i've encountered the dilemma of not being able to "preview" these macros. In our double box, we switch the input of box one between CAM 1, 2, and 3 depending on who is talking. Without being able to preview the macro, it makes it impossible to change this box without it going live in the program monitor. Also, it prevents us from being able to transition between macros. Do you happen to know a way around this or is there a secret to being able to preview macros in any way?

Sorry for the long question and thank you again for the great content!
Hm, I don’t load to preview because I’m my own switcher, so all my macros go straight to program. Can’t a macro be written to go to Preview? I’ve never tried.
@PhotoJoseph Thanks for the idea! I was successfully able to change the code and direct the macros to go to preview rather than program. Thank again!
Thanks for the content !! Very good!! Helped me a lot!! ; )
Welcome to the binary world.... 1=0 and 2=1...
Thanks for videos like this! Your guides are very useful for new people on my team that have a lot to learn. It's nice to be able to just link one of your videos to my newbies and they follow at their own pace. Please never stop :)
How is IPAD connected to switcher?
Thank you very much for sharing those types of content Joseph!
Using macros that way now give me the ability to be much more efficient and in a certain way decrease the probability of making a mistake during a live event!
Greeting for Montreal!
Hi Joseph, great (nerdy) content. Love it. Tickles all my fancies. I've learned a bunch about ATEM. Did you ever try to incorporate an "IF THEN ELSE"-logic into an ATEM code?
No! Is there logic like that in there?!
That's what I've wondered. - (researching pause) - Ah. I just discovered this guy Ian Morrish ( It seems, he developed this "VISE" extension, which let's you control the ATEM environment with windows power shell (not interesting for mac users, I guess), which is able to work with such logic. I'm having a hard time wrapping my head around all this, but I'll try regardless. =)

The idea to be able to work "IF THEN ELSE" came, when I was using "toggle macros", which make complex transitions using motion graphics from a Hyperdeck Studio Mini, to a certain source and back. I wanted to make certain actions dependand on the current state for more flexibility. I think that would be possible with the VISE thingy. And it's all open source.
Very cool. If you get it working and have some really clever uses for it, do let me know. I was trying to think of where I’d need that in my workflow since you posted this and haven’t come up with any. But I’m probably being shortsighted 😁
You may login with either your assigned username or your e-mail address.
Passwords are case-sensitive - Forgot your password?