Office for Mac Issues

Control a PowerPoint Slide Show on Mac from an IoT Device

Huda QurayshiHuda Qurayshi Nov 20, 2026 869 views

Question details

Control a PowerPoint slide show on macOS using commands from an IoT project.

Control a PowerPoint Slide Show on Mac from an IoT Device
Product
Microsoft PowerPoint for Mac
Device & OS
macOS
Scenario
An IoT device needs to send keyboard, mouse, or navigation commands to a running presentation.
Observed behavior
The desired result is to navigate a PowerPoint slide show from the IoT device or an application connected to it.
Before you start

Open the presentation in PowerPoint for Mac and confirm that your IoT device can send keyboard input or communicate with a program on the Mac. If you plan to use scripted keystrokes, check macOS permissions under System Settings > Privacy & Security.

Solution 1Recommended

Navigate the Slide Show with Keyboard Input or AppleScript

Use this approach when the IoT device can act as a keyboard or trigger a script on the Mac.

PowerPoint can respond to navigation keys while its slide show is active. A device that cannot send keyboard input directly can instead send a command to a trusted Mac-side program, which can run an AppleScript.

AppleScript GUI keystrokes depend on PowerPoint being active and may require macOS Accessibility and Automation permissions.

1
Start the slide show

Open the presentation in PowerPoint and use the Slide Show tab to start it from the beginning or the current slide.

2
Test keyboard navigation

With the slide show active, press the Right Arrow key to advance or the Left Arrow key to go back. If the IoT device acts as a keyboard, configure it to send the same keys.

3
Test a scripted command

To advance from a Mac-side script, open Terminal and run: osascript -e 'tell application "Microsoft PowerPoint" to activate' -e 'tell application "System Events" to key code 124'. Key code 124 represents Right Arrow.

4
Grant permissions if prompted

If macOS blocks the script, open System Settings > Privacy & Security > Accessibility and allow the app running it, such as Terminal. Also check Privacy & Security > Automation for any requested System Events access, then run the command again.

5
Connect the IoT command

Configure your trusted Mac-side application to run the tested command when it receives the appropriate IoT event. Keep the slide show active and test each navigation action.

Navigate the Slide Show with Keyboard Input or AppleScript
Keep the command channel secure: The example sends a local keystroke; it does not provide a network connection to the IoT device. Authenticate and restrict any service that accepts remote commands.
Free Microsoft Office alternative

Present Slides with WPS Office

WPS Office is a free, lightweight Office alternative with a familiar interface for opening and presenting slide decks. Its PowerPoint format support makes it easy to move existing presentations, though it does not fix PowerPoint automation or guarantee the same scripting controls.

Present slide decks in WPS PresentationOpen and edit Microsoft PowerPoint PPT and PPTX filesUse a familiar interface to transition from Microsoft OfficeWork with a free, lightweight office suite
microsoft office alternative - wps office

Frequently Asked Questions

Can an IoT device advance PowerPoint slides without an API?

Yes. If the device can send keyboard input to the Mac, start the slide show and have it send Right Arrow to advance or Left Arrow to go back.

Why does my AppleScript keystroke not reach PowerPoint?

Check that the slide show is running and PowerPoint is active. Then review System Settings > Privacy & Security > Accessibility and Automation for permissions associated with the app running the script.

Can I use the PowerPoint JavaScript API on Mac?

Office Add-ins can run in PowerPoint for Mac, but individual APIs depend on their requirement set and the installed Office version. Check the PowerPoint JavaScript API and requirement set documentation for the specific operation you need; do not assume an API can inject keystrokes or control every slide-show action.

Can I use tools other than AppleScript for this project?

Automator, VBA, Objective-C, and Office Add-ins may be useful depending on the control required. Check each tool's supported operations and macOS permissions before choosing an integration method.