Screen renamer tool

Hello everyone! First of all, not sure if this is the right category for this topic, pls let me know if not :slight_smile:

While working with AppInventor for the first time I was having issues being unable to change the scren name after creation, both for keeping the app semantics sane and when splitting the development and trying to merge several projects using AI2 Project Merger Tool: combine two App Inventor projects into one

I have written this small tool that allows you to rename screens other than Screen1 from an aia file GitHub - fgimenez/ai2-screen-renamer: A command-line tool to rename screens in MIT App Inventor 2 projects · GitHub not sure if it is he right approach or something else already exists, in any case, any feedback is more than welcome :slight_smile:

Thanks!

1 Like

Looks useful.

I moved to Open Source Development category for now...

1 Like

Added to FAQ AiA Tools

1 Like

There's a danger to using screen renaming tools if they leave the lastopened value in the project properties pointing to a nonexistent screen.

AI2 still can't load such projects.

Consider resetting lastopened to Screen1 in your tool.

yep, this is already taken into account see ai2-screen-renamer/ai2_renamer/__init__.py at main · fgimenez/ai2-screen-renamer · GitHub and this test ai2-screen-renamer/tests/test_rename_screen.py at main · fgimenez/ai2-screen-renamer · GitHub