Export Images

I’d like to be able to export images from a solution (one by one and/or all at once).

Thanks

I think you are looking for this? Under the application node in the method editor.

//Write file
var fileName = ‘c:\temp\out.dat’
var success = application.writeFile(fileName,mediafield);
//if (!success) showDialog();

  • david

david:
I think you are looking for this? Under the application node in the method editor.

//Write file
var fileName = ‘c:\temp\out.dat’
var success = application.writeFile(fileName,mediafield);
//if (!success) showDialog();

  • david

Not exactly. I intended the chance to export images used by the solutions (such as rollover images, button images), not the ones contained in media fields.

Riccardino:
Not exactly. I intended the chance to export images used by the solutions (such as rollover images, button images), not the ones contained in media fields.

Perhaps once we get the ability to import/export forms Import Form - Classic Servoy - Servoy Community we will be able to use styles to do what you want.