Observed since 21 Oct, 09:45 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
ai2-screen-renamer
Rename screens in MIT App Inventor 2 (.aia) projects
A command-line tool to rename screens in MIT App Inventor 2 projects (.aia files).
App Inventor does not provide a built-in way to rename screens. This tool automates the process by editing the .aia file directly, updating all internal references consistently.
For a given screen rename (OldName → NewName), the tool updates:
OldName.scm → NewName.scm (Designer components file)OldName.bky → NewName.bky (Blocks file)$Name field inside the .scm filemain= and lastopened= entries in youngandroidproject/project.propertiesopen another screen block references in other screens' .bky filesRequires Python 3.10+.
pipx install ai2-screen-renamer
Or with pip:
pip install ai2-screen-renamer
Or install from source:
git clone https://github.com/fgimenez/ai2-screen-renamer.git
cd ai2-screen-renamer
pip install -e .
# Rename Screen2 to AgendaContactos, output to MyApp_AgendaContactos.aia
ai2-screen-renamer MyApp.aia Screen2 AgendaContactos
# Specify output file explicitly
ai2-screen-renamer MyApp.aia Screen2 AgendaContactos MyApp_renamed.aia
Or as a Python module:
python -m ai2_renamer MyApp.aia Screen2 AgendaContactos
Screen1 cannot be renamed. App Inventor requires Screen1 to exist as the launch screen — renaming it would produce a project that fails to build.
The tool raises a descriptive error if:
.aia fileScreen1pip install -e ".[dev]"
pytest -v
Apache 2.0
Download counts and popularity will appear here as the collector receives them.
| Package / target | Requirement | Relationship |
|---|---|---|
pytestEnvironment{
"extras": "",
"marker": "extra == \"dev\"",
"requires_python": ">=3.10",
"evaluation": "NOT_EVALUATED"
} | pytest>=8; extra == "dev" | runtime |
bdist_wheel · 8 KB · Python py3
sdist · 8.46 KB · Python source
Observed since 21 Oct, 09:45 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package_version:ae8f59e995021ab237dfd5e7dc06deeae6cb867057bd415135e65af607e0dd75