Background Image

Is there a way to access the background image via scripting?

I would like to iterate through the images of an selected folder and create for every image a new glyph and add this image in the background.

Thanx in advance!

You use this:
Layer = Font.selectedLayers[0]
Layer.addBackgroundImageWithURL_(NSURL.fileURLWithPath_(“path to the image”))
print Layer.backgroundImage()

Brilliant!

Thank you Georg!