Copying a screenshot from one AIA to another isn't working for me. I'm using the PROJECT option

Hello everyone.
My question is about copying a screenshot from one .AIA file to another. I select the screen I want to copy, use the “Export selected screen (.ais) to my computer” option, and get the file. I open the new .AIA file and import it using the “Import screen (.ais) from my computer” option. However, even though the downloaded file shows the name of the AIA file along with the selected screenshot, it uploads the main screen of the AIA file I wanted to copy. Any explanation for this? Thanks and regards, JAGG

Feedback > Bugs

Hi :waving_hand: @Diego
This has even happened to me and wanted to report a long time ago (while migrating the fire base components). Can you please retry these things personally. If results the same, will you please fix it…
:handshake:

@Javier_Gonzalez1 This is a bug which will be handled for sure & notified. But have patience. :+1:

Edit: This happens in Firefox.

Named AIA instead of ais?

Can you verify if it’s not in yourprojectname.ais.zip? Sometimes when you export it’s ends up in zip format, which won’t be possible to import

This happens usually in Firefox not in Chrome.

Export

In Firefox, its actually saving the file as .txt
Screenshot_20260522-040500

Where as in Chrome, it’s storing as a zip file.
Screenshot_20260522-040726

Import (renamed files)

In these browsers, there is no issue importing a zip file but, importing a text file will be a problem.

Hello, good evening.

Thank you for answering my question, Ibrahim_Jamar.

The following: “Although the downloaded file shows the AIA file name along with the selected screenshot” refers to the fact that the first part of the .AIS file name corresponds to the AIA file name, and it is complemented by the name of the screenshot selected for download.

The first part, “usodecardview_fix,” is the name of the .AIA file from which I want to download the screen, and “Screen2” is the name of the screen I want to download. This is complemented by the .AIS extension.

Well, if I insert this into another .AIA file, it doesn’t copy screen2, but rather the main screen. The information in that .AIS file doesn’t correspond to screen2, but rather to screen1 from the .AIA file.

I hope I’ve explained myself clearly.
Regards and thanks again. JAGG

Do you mean that you are able to import yourprojectname.ais.zip without modifications?

Can you upload your aia file for more investigation, if you don’t mind :unamused_face:

Read the title heading…

Hi Vega,

If possible, please open a dedicated topic, but I’ve just tested it with:

  • Firefox 151.0.1 (64 bit)
  • Chrome 148.0.7778.179 (64 bit)

and the screens are exported correctly in AIS format and properly imported into other projects.

When importing AIA, AIS, and AIX files, Kodular’s dialog only filters for those extensions, so other file types shouldn’t be visible.
Wouldn’t it be enough to simply remove .zip/.txt?

Hi Javier,

THIS IS NOT AN OFFICIAL SOLUTION

But if you notice, an .ais file is almost identical to an .aia project, except it only contains the screen files.
So I think you could simply download the full .aia project and, using 7zip or something similar, delete from the src folder the screen files you don’t need.
(also remove the assets folder)
After making these changes, you just change the file extension from .aia to .ais.

Try it, but as a first and most important step, make a backup of the original project because I’m not able to run deeper tests right now.

Good morning to both of you.

Apparently, I have a misunderstanding regarding the option to integrate a screen from one .AIA file into another.

I’ll try to explain what I understand, and if I’m mistaken, please let me know.

For example, I have two projects, called Project1 and Project2. In Project1, I have two screens, Screen1 and Screen2. In Project2, I have Screen1 and Screen3.

What I want to do is move Screen3 from Project2 to Project1 because, let’s say, the screen is very complex and I don’t want to recreate it.

My way of understanding this option is as follows:
I open Project2 and go to Screen3 and select the option Export screen AIS

and the .AIS file is downloaded to my computer.

Without making any modifications

Now, I open Project1 and select the option Import screen AIS

I select the file I downloaded from Project1 so that Project2 contains all three screens: Screen1, Screen2, and Screen3.

If I’m mistaken, please explain it to me or tell me where I can find more information.

Regards and thanks, JAGG

I think there’s some confusion between the project names :grin:

but the goal is quite clear.

Based on your first message,

you want to move Project2.Screen3 into Project1, and the steps are exactly the ones you described.

  • Open Project2
  • Select Screen3
  • Export in AIS format
  • Open Project1
  • Import the downloaded AIS file
  • The screen will be imported with a name like ImportFD13B3

Regarding what you mentioned in the original topic, the issue seemed to be that when downloading the AIS file of a specific screen, Screen1 was being imported instead. Is that correct?

If so, you can try following what I wrote above.

Hi RaYzZz, thanks for replying.

If I remember correctly, I used the solution you gave me some time ago in App Inventor, following a YouTube video, and it worked.
Now, seeing the option within Kodular, I thought it was that easy: select from one project and include it in another.
I appreciate your explanation and I’m going to try it.

Regards, JAGG

PD. https://www.youtube.com/watch?v=hhdvRp1UfmM

This is a video from 9 years ago that explains how to use App Inventor; it would be something like this.