Atomi exposes AI tools ‘in the box’, streamlining user workflow, instead of a user finding a content generator, generate content, then bring it back to the project.
by problem description, extending AP is outside the box. which, i think, an external, more robust AI tool is better suited.
and, frankly, if you do get stuck, check and post to these forums. many of these same people who respond to us either know javascript as good as developers or they are the developers - and they don’t quit. either way, your question will get answered.
suggestion, check google’s gemini.
on a whim, i pasted your question there and it seemed happy to provide an overview and some use cases.
here’s a small bit of what it spit out:
The ActivePresenter JavaScript API (prez object)
ActivePresenter exposes its internal structure to JavaScript through a global object named prez. This object gives you access to the project’s slides, objects, and variables, allowing you to manipulate them with your custom code.
Here are some key things you can do with the prez object:
- Access Objects: Get a reference to any object on the current slide by its name.
prez.object('ObjectName')
- Control Object States: Change an object’s state (e.g., show, hide, or change its appearance).
prez.object('Image1').show()
prez.object('Button1').state('disabled')
- Manipulate Variables: Read from and write to variables you’ve created within the ActivePresenter UI.
var myScore = prez.variable('userScore')
prez.variable('userScore', myScore + 1)
- Timeline Control: Play, pause, or seek to a specific point in the slide’s timeline.
Use Cases for JavaScript
JavaScript is especially useful for creating advanced functionality that isn’t available with the built-in actions alone. Common applications include:
- Complex Calculations: Performing intricate calculations that go beyond simple variable adjustments.
- Dynamic Content: Creating dynamic text or graphics based on user input or random data.
- Advanced Logic: Implementing complex conditional logic, loops, and custom functions.
- Third-Party Integrations: Interacting with external web services or APIs.
- Custom Interactivity: Building unique games or simulations that require custom event handling.
By combining the built-in actions with JavaScript, you can create highly customized and engaging e-learning experiences.
if you already know javascript, gemini should help with objects, properties, events, and even code (i would expect).
take your idea, feed it to gemini, ask for an overview of its approach and an example or two you can test in AP. and Bob’s your uncle.