On 2017-01-19 12:11, Nick Dokos writes: > Alan Schmitt writes: > >> Hello, >> >> It is possible to run a function at the end of capture? I would like to >> call org-board-archive (that downloads a web page according to some >> properties) before finishing the capture? >> > > There are three hooks that are run from org-capture-finalize: > > - org-capture-prepare-finalize-hook > - org-capture-before-finalize-hook > - org-capture-after-finalize-hook > > Check their documentation for when they are run and what the context is. > One of them should be good enough for what you want to do. Thanks, this was most helpful. org-capture-prepare-finalize-hook worked great. Alan -- OpenPGP Key ID : 040D0A3B4ED2E5C7 Monthly Athmospheric CO₂, Mauna Loa Obs. 2016-12: 404.48, 2015-12: 401.85