Message green

263
7
08-31-2020 11:26 AM
by Anonymous User
Not applicable

Does anyone know how to get Green output when using AddMessage (message function) in ArcPro?

0 Kudos
7 Replies
DavidPike
MVP Frequent Contributor

arcpy.AddWarning('Some message')  

https://community.esri.com/thread/34862

0 Kudos
by Anonymous User
Not applicable

David, Thanks, Yes AddWarning in ArcDesktop is green, but in ArcPro it is in Yellow.  I'd like to print Message that certain action are OK in Greem text rather than Black and White. 

0 Kudos
DavidPike
MVP Frequent Contributor

Apologies, I think i'm a decade behind any of these questions now .

I couldn't see anything else to control the colour or any kind of formatting in the GP window.  If you find a way please post it as i'd be interested also.

0 Kudos
DanPatterson
MVP Esteemed Contributor

Brian Klinger There is nothing in the arcpy  that enables setting the properties of methods

AddMessage—ArcGIS Pro | Documentation 


... sort of retired...
BingZheng
Esri Contributor

arcpy.AddMessage() should work

0 Kudos
DavidPike
MVP Frequent Contributor

To be green?

0 Kudos
by Anonymous User
Not applicable

Yes, trying to display in green, so I/we do not have to use a Warning, which triggers Error and Warning in ArcPro.  See below

0 Kudos