[Qgis-user] Run a python in the startup
Paolo Cavallini
cavallini at faunalia.it
Sun Apr 27 23:35:54 PDT 2014
Il 28/04/2014 08:24, Andrea Peri ha scritto:
> I need to run a python in qgis startup phase.
>
> I see the option to set the startup code in
> project.properties -> macros
>
> But this solution is not affordable for us, due to security settings.
>
> So searching another solution, I try if exist an option to say to qgis
> (using a parameter in the shell startup ) to run a python code.
>
> My goal is to produce a python code capable to load a project file and
> add some wms layer to the canvas.
>
> I hope this solution could run without the constraints of security settings.
Hi Andrea,
would the option to load atumatically a specified project solve your issue?
BTW: what are exactly your security concerns?
All the best.
--
Paolo Cavallini - www.faunalia.eu
QGIS & PostGIS courses: http://www.faunalia.eu/training.html
More information about the Qgis-user
mailing list