Apple Keynote Integration
While Apple Keynote doesn’t support plugins or extensions like PowerPoint, you can still integrate Demo Time into your presentations by using clickable links that trigger your demos in Visual Studio Code.
How it works
By adding a clickable shape or button to your Keynote slides, you can create a seamless transition from your presentation to your live demo in VS Code. When clicked, the link will automatically open Visual Studio Code and run the specified demo.
Setting up the integration
Step 1: Create a clickable element
- In your Keynote slide, add a shape, or any other element that you want to use as a trigger
- This could be a button, an icon, or even text like “Run Demo”
- Design it to fit your presentation style
Step 2: Add the Demo Time link
- Select the element you created
- Right-click and choose Add Link (or use the Inspector panel)
- In the link field, enter the following URI:
vscode://eliostruyf.vscode-demo-time?command=runbyid&id=<demo id>
- Replace
<demo id>
with the actual ID of your demo
Step 3: Find your demo ID
To get the demo ID for your link:
- Open your demo file in VS Code
- Look for the
id
property in your demo configuration - If you don’t have an ID set, add one to your demo file:
{"id": "my-awesome-demo","title": "My Demo","steps": [// your demo steps]}
Example
Here’s a complete example of how your link should look:
vscode://eliostruyf.vscode-demo-time?command=runbyid&id=react-component-demo
When you click the element during your presentation, it will:
- Switch to Visual Studio Code
- Automatically start the demo with ID
react-component-demo
- Begin executing the first step of your demo
Going back to Keynote
To return to Keynote after running your demo, you can use the openKeynote
action in your demo script. This action will bring Keynote back to the foreground, allowing you to continue your presentation seamlessly.
{ "action": "openKeynote"}