aia_add_event_handlers
Add event handlers to App Inventor screens without altering existing blocks. Set component properties or open new screens when events like button clicks occur.
Instructions
Generate and append event handlers (e.g. 'when Button.Click do...') to a screen's blocks without touching existing ones. Each action is either {set, component, componentType, to} to set a property or {openScreen} to switch screens.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute or relative path to an .aia file | |
| events | Yes | ||
| screen_name | Yes |