<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Formating text in AddMessage in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/formating-text-in-addmessage/m-p/760683#M58659</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Doubt it... You can try playing with arcpy.AddWarning() and arcpy.AddError() to make more noticeable messages. Some of them might come out colour, I can't remember...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For example:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;gt;&amp;gt;&amp;gt;import arcpy
&amp;gt;&amp;gt;&amp;gt;arcpy.AddMessage('Some message')
Some message
&amp;gt;&amp;gt;&amp;gt;arcpy.AddWarning('Some message')
WARNING: Some message
&amp;gt;&amp;gt;arcpy.AddError('Some message')
ERROR: Some message&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 12 Dec 2021 08:18:49 GMT</pubDate>
    <dc:creator>StacyRendall1</dc:creator>
    <dc:date>2021-12-12T08:18:49Z</dc:date>
    <item>
      <title>Formating text in AddMessage</title>
      <link>https://community.esri.com/t5/python-questions/formating-text-in-addmessage/m-p/760682#M58658</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there a way of formating text that is in an AddMessage statement?&amp;nbsp; I'd like to change the color and whether it is bold or not so that the message jumps out to my users on the geoprocessing window.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Jazmateta&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Aug 2011 13:13:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/formating-text-in-addmessage/m-p/760682#M58658</guid>
      <dc:creator>LorindaGilbert</dc:creator>
      <dc:date>2011-08-23T13:13:53Z</dc:date>
    </item>
    <item>
      <title>Re: Formating text in AddMessage</title>
      <link>https://community.esri.com/t5/python-questions/formating-text-in-addmessage/m-p/760683#M58659</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Doubt it... You can try playing with arcpy.AddWarning() and arcpy.AddError() to make more noticeable messages. Some of them might come out colour, I can't remember...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For example:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;gt;&amp;gt;&amp;gt;import arcpy
&amp;gt;&amp;gt;&amp;gt;arcpy.AddMessage('Some message')
Some message
&amp;gt;&amp;gt;&amp;gt;arcpy.AddWarning('Some message')
WARNING: Some message
&amp;gt;&amp;gt;arcpy.AddError('Some message')
ERROR: Some message&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 08:18:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/formating-text-in-addmessage/m-p/760683#M58659</guid>
      <dc:creator>StacyRendall1</dc:creator>
      <dc:date>2021-12-12T08:18:49Z</dc:date>
    </item>
  </channel>
</rss>

