Thanks Havard, So I guess this means that it is impossible to use python scripts without opening a dialog? As my script doesn't fit in the template I pasted it in the editor of the pythonconsole and there it works :-) Regards, -- Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-User-f4125267.html