<?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: arcpy.AddMessage Formatting in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/arcpy-addmessage-formatting/m-p/35858#M2809</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;No, it is significantly beyond the scope of GP message logging. The framework doesn't assume a terminal display as its target for messages, they can live in log files on a window or linux server, lines in a text file, elements in the results window in Desktop, etc. Formatted text is more the realm of an output parameter. Consider returning an HTML or RTF document report if that's your goal.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 10 May 2012 19:09:15 GMT</pubDate>
    <dc:creator>JasonScheirer</dc:creator>
    <dc:date>2012-05-10T19:09:15Z</dc:date>
    <item>
      <title>arcpy.AddMessage Formatting</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-addmessage-formatting/m-p/35855#M2806</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi everyone,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does anyone know of a way to format messages added to a python script via arcpy.AddMessage(). I want to be able to change the color of certain messages that gets printed in the GUI and it would hurt to know if you can use other formatting tools such as bolding, underlining, etc. I'm assuming you can do this because the traceback python scripts ESRI offers on their website will always print their messages in red. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Mike&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 May 2012 18:10:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-addmessage-formatting/m-p/35855#M2806</guid>
      <dc:creator>MikeMacRae</dc:creator>
      <dc:date>2012-05-10T18:10:02Z</dc:date>
    </item>
    <item>
      <title>Re: arcpy.AddMessage Formatting</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-addmessage-formatting/m-p/35856#M2807</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The only formatting is a product of the type of message it is -- AddError and AddWarning give red and orange text in the window, but this is not in any way a formatting engine -- the colors vary to flag what TYPE of message they are.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 May 2012 18:12:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-addmessage-formatting/m-p/35856#M2807</guid>
      <dc:creator>JasonScheirer</dc:creator>
      <dc:date>2012-05-10T18:12:14Z</dc:date>
    </item>
    <item>
      <title>Re: arcpy.AddMessage Formatting</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-addmessage-formatting/m-p/35857#M2808</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ah, so I'm taking it you're saying this isn't possible? I was looking into other python modules like colorama, but it looks like that just changes python shell print line formatting instead of GUI messages. It would be nice if this was possible.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 May 2012 18:35:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-addmessage-formatting/m-p/35857#M2808</guid>
      <dc:creator>MikeMacRae</dc:creator>
      <dc:date>2012-05-10T18:35:01Z</dc:date>
    </item>
    <item>
      <title>Re: arcpy.AddMessage Formatting</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-addmessage-formatting/m-p/35858#M2809</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;No, it is significantly beyond the scope of GP message logging. The framework doesn't assume a terminal display as its target for messages, they can live in log files on a window or linux server, lines in a text file, elements in the results window in Desktop, etc. Formatted text is more the realm of an output parameter. Consider returning an HTML or RTF document report if that's your goal.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 May 2012 19:09:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-addmessage-formatting/m-p/35858#M2809</guid>
      <dc:creator>JasonScheirer</dc:creator>
      <dc:date>2012-05-10T19:09:15Z</dc:date>
    </item>
  </channel>
</rss>

