Re: [Qgis-user] QGIS shutdown python script

2014-02-04 Thread Ross McDonald
Larry, Fantastic! Just what I was looking for but didn't know where to start looking. And here's the page in the documentation: http://www.qgis.org/en/docs/user_manual/introduction/qgis_configuration.html It's OK that it is per project as this need has arisen for just one user at the moment. Th

Re: [Qgis-user] QGIS shutdown python script

2014-02-04 Thread Larry Shaffer
Hi Ross, On Tue, Feb 4, 2014 at 9:32 AM, Etienne Tourigny wrote: > You could place your code in your plugin's unload() method. But I'm not > sure this would work, because some things might not be available at that > time (e.g. layers, etc.). > > See this page for a simple example > http://www.qg

Re: [Qgis-user] QGIS shutdown python script

2014-02-04 Thread Etienne Tourigny
You could place your code in your plugin's unload() method. But I'm not sure this would work, because some things might not be available at that time (e.g. layers, etc.). See this page for a simple example http://www.qgis.org/en/docs/pyqgis_developer_cookbook/plugins.html On Tue, Feb 4, 2014 at

[Qgis-user] QGIS shutdown python script

2014-02-04 Thread McDonaldR
Hi List Is it possible for QGIS to run a (python) script on shutdown? There is a feature on the QGIS issues list about startup scripts (http://hub.qgis.org/issues/6297) - can shutdown scripts be used in the same way? Say, for example, I have a project in which I am editing a dataset in a spa