<div dir="ltr">Perfetto, grazie Matteo<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Il giorno ven 20 nov 2020 alle ore 14:12 matteo <<a href="mailto:matteo.ghetta@gmail.com">matteo.ghetta@gmail.com</a>> ha scritto:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">qualcosa del genere?<br>
<br>
<br>
import os<br>
<br>
bar = iface.messageBar()<br>
if not os.path.exists(percorso_cartella):<br>
bar.pushMessage('Titolo', 'Testo messaggio', Qgis.Warning, duration=5)<br>
_______________________________________________<br>
QGIS-it-user mailing list<br>
<a href="mailto:QGIS-it-user@lists.osgeo.org" target="_blank">QGIS-it-user@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/qgis-it-user" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-it-user</a><br>
</blockquote></div>