<?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: Adding html link to AddMesage in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/adding-html-link-to-addmesage/m-p/274251#M21213</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi, thanks for your post Stacey. This would work but could look untidy, I was hoping for a way of adding a &amp;lt;a href="url"&amp;gt;link&amp;lt;/a&amp;gt; type html link! I think Jasons reply is the right answer...&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 13 Feb 2012 01:41:03 GMT</pubDate>
    <dc:creator>PhilWilkes</dc:creator>
    <dc:date>2012-02-13T01:41:03Z</dc:date>
    <item>
      <title>Adding html link to AddMesage</title>
      <link>https://community.esri.com/t5/python-questions/adding-html-link-to-addmesage/m-p/274248#M21210</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I would like to add an html link to a message that appears in the dialog box.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;
import arcpy
p2s = '-- For more info click &amp;lt;!!HTML_LINK!!&amp;gt; --'
arcpy.AddMessage(p2s)
&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is this possible? When a geoprocessing error occurs there is a link to error description so it seems possible!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Phil&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Feb 2012 23:04:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/adding-html-link-to-addmesage/m-p/274248#M21210</guid>
      <dc:creator>PhilWilkes</dc:creator>
      <dc:date>2012-02-09T23:04:25Z</dc:date>
    </item>
    <item>
      <title>Re: Adding html link to AddMesage</title>
      <link>https://community.esri.com/t5/python-questions/adding-html-link-to-addmesage/m-p/274249#M21211</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This is not possible.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Feb 2012 23:30:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/adding-html-link-to-addmesage/m-p/274249#M21211</guid>
      <dc:creator>JasonScheirer</dc:creator>
      <dc:date>2012-02-09T23:30:24Z</dc:date>
    </item>
    <item>
      <title>Re: Adding html link to AddMesage</title>
      <link>https://community.esri.com/t5/python-questions/adding-html-link-to-addmesage/m-p/274250#M21212</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You could just write the link out explicitly, and then the user could copy and paste it to their browser...&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Feb 2012 21:47:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/adding-html-link-to-addmesage/m-p/274250#M21212</guid>
      <dc:creator>StacyRendall1</dc:creator>
      <dc:date>2012-02-10T21:47:41Z</dc:date>
    </item>
    <item>
      <title>Re: Adding html link to AddMesage</title>
      <link>https://community.esri.com/t5/python-questions/adding-html-link-to-addmesage/m-p/274251#M21213</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi, thanks for your post Stacey. This would work but could look untidy, I was hoping for a way of adding a &amp;lt;a href="url"&amp;gt;link&amp;lt;/a&amp;gt; type html link! I think Jasons reply is the right answer...&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Feb 2012 01:41:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/adding-html-link-to-addmesage/m-p/274251#M21213</guid>
      <dc:creator>PhilWilkes</dc:creator>
      <dc:date>2012-02-13T01:41:03Z</dc:date>
    </item>
    <item>
      <title>Re: Adding html link to AddMesage</title>
      <link>https://community.esri.com/t5/python-questions/adding-html-link-to-addmesage/m-p/274252#M21214</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;How about an automatic "pop up" upon failure?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;import subprocess
subprocess.Popen('"C:\\Program Files\\Internet Explorer\\iexplore.exe" http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#/000001_Angle_should_be_greater_than_0_and_less_than_180/00vp00000002000001/')&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There's some other ways too: &lt;/SPAN&gt;&lt;A href="http://stackoverflow.com/questions/1532884/open-ie-browser-window" rel="nofollow noopener noreferrer" target="_blank"&gt;http://stackoverflow.com/questions/1532884/open-ie-browser-window&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 13:23:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/adding-html-link-to-addmesage/m-p/274252#M21214</guid>
      <dc:creator>ChrisSnyder</dc:creator>
      <dc:date>2021-12-11T13:23:18Z</dc:date>
    </item>
  </channel>
</rss>

