Layer script question

Is there a script that allows you to import an image directly into a layer without another window opening?

What you’re describing is doable with a script but you’d need to know the path to the image file to avoid asking the user to select it.

Then you can use the Image:{fromFile=...} to load the image and use it to create a cel for the layer (and frame) you want.