Stand-In TV

The Apple TV device across the house, on your desk: its live picture and sound in a window on your Mac computer, and its remote in your keyboard, your trackpad, your voice and your scripts. Made for people who make apps for the Apple TV device.

See it and hear it

The TV's picture arrives as the TV draws it, at its own size, in a window you can resize, fill the screen with, or set to one of the TV's pixels on each of your screen's. Its sound plays on your Mac computer when you turn it on, and never before.

Drive it

The arrow keys move, Return selects, Esc goes back, Space plays and pauses, and two fingers on the trackpad swipe as on the remote's touch surface. Hold a key and the button is held, so long presses work. An on-screen remote, laid out like the real one, has the rest: the TV button, volume, Control Center, the screen saver and sleep; the Remote menu wakes the TV.

Type into it

When the TV shows its keyboard, a field appears over the picture and takes your typing, letter by letter as you type. Paste a test account's password; type a search in a second instead of a minute.

Talk to it

Click the microphone and say "down three", "open Settings", "search for cat videos" or "take a screenshot". While the TV's keyboard is up, what you say is typed. Your voice is recognized on your Mac computer and never sent anywhere.

Test your deep links

Open any app on the TV by its name or its bundle identifier, or open a link an app claims, such as myapp://item/42, and see where it lands. Switch the TV's profile from the menu.

Shots and recordings

Save the picture at its full size with Command-S, copy it with Command-C, or record the picture and the TV's sound to a movie, whether or not you are listening, for a bug report or a demonstration.

Script it

Everything is scriptable, with one set of commands: from AppleScript, from Terminal and Xcode build phases with the included standin tool, from a link, or typed into Run Commands. A command waits until the TV has done it and fails with the reason when it cannot, so a test can stop on it.

A script can wait for what the TV shows and check it: until its keyboard is up, until it wakes, until the picture stops changing, until words appear on the screen (read on your Mac computer), or until it looks like a screenshot you saved. So you can script a real test of your own app, and Record Presses as Commands writes the first draft of it from what you do.

standin "open com.example.myapp; wait until text \"Sign In\"; select"
standin "wait until keyboard; type \"tester@example.com\"; expect field \"tester@example.com\""
standin "select; wait until text \"Welcome\" up to 30; screenshot"

It calls your scripts

Put a script of your own, in any language, in Stand-In TV's scripts folder and it runs when something happens: the TV wakes or sleeps, its keyboard comes up, the connection drops, a screenshot or recording is saved, something goes wrong. Name one for a phrase and saying it runs it. Hand every spoken command, the sound and all, to any program you choose. Whatever your script prints, Stand-In TV does. We do not know what you will make of it; that is the point.

Every problem comes with its fix

When the TV is asleep, out of reach or busy, Stand-In TV says what happened, what to do, and gives you the button that does it.

What you need

A Mac computer with the macOS operating system 15 or later, and an Apple TV device on the same network. The remote works with no other setup. For the picture and sound, pair the TV with the Xcode app on that Mac computer, as for any wireless development, and let the TV play its sound through its own speakers, not a HomePod, while you test: a TV whose sound goes to a HomePod offers no picture to any app. The manual shows each step.

Coming to the Mac App Store.

Support

Questions, problems or ideas: write to support@psk-intellect.com. Please tell us your Mac computer's model, the version of the macOS operating system on it, and your Apple TV device's model and the version of the tvOS operating system on it.

Stand-In TV collects nothing: its privacy page.