[QGIS-Developer] Opening the last processing task via script

Bourdon, Jean-François (DIF) Jean-Francois.Bourdon at mffp.gouv.qc.ca
Thu Aug 25 12:33:34 PDT 2022


[Intranet logo]
Hi,

I often have to run the same processing task multiple time, but with some parameters changed. Currently, I must open the History (Processing -> History or Ctrl-Alt-H) and double-click on the last task. In order to save me... one click... I was wondering if it was possible to open via a script the last processing task launched in order to make a tool button. I know that the history itself is stored in the processing.log file inside the user profile but don't know how to, if possible at all, open a pre-filled processing window. Also, I don't want to launch the task with qgis_process.exe because I want to manually edit some parameters.

I know, I know. All this trouble to save one click... but I'll learn something!
Thanks for any help

Jean-François Bourdon, ing.f.
Analyste en télédétection
Direction des inventaires forestiers
Ministère des Forêts, de la Faune et des Parcs
5700, 4e Avenue Ouest, local A-108
Québec (Québec) G1H 6R1
Téléphone : 418 627-8669, poste 704304
jean-francois.bourdon at mffp.gouv.qc.ca
mffp.gouv.qc.ca<http://www.mffp.gouv.qc.ca/accueil.jsp>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20220825/25358008/attachment.htm>


More information about the QGIS-Developer mailing list