<?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 offset capture toggle in ArcPad Questions</title>
    <link>https://community.esri.com/t5/arcpad-questions/offset-capture-toggle/m-p/297317#M2143</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Is it possible to identify the state of the 'offset capture toggle' -- I have a VB script that calls the internal command 'offsetpoly'. I want to check if the toggle is 'on' before calling the command so I don't toggle it 'off'. I'd also like to be able to check the offset distance and direction that ArcPad is storing. Does anyone know how to access this information?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Chris&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 09 Jul 2010 20:34:07 GMT</pubDate>
    <dc:creator>ChrisSeabrooke</dc:creator>
    <dc:date>2010-07-09T20:34:07Z</dc:date>
    <item>
      <title>offset capture toggle</title>
      <link>https://community.esri.com/t5/arcpad-questions/offset-capture-toggle/m-p/297317#M2143</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Is it possible to identify the state of the 'offset capture toggle' -- I have a VB script that calls the internal command 'offsetpoly'. I want to check if the toggle is 'on' before calling the command so I don't toggle it 'off'. I'd also like to be able to check the offset distance and direction that ArcPad is storing. Does anyone know how to access this information?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Chris&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Jul 2010 20:34:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcpad-questions/offset-capture-toggle/m-p/297317#M2143</guid>
      <dc:creator>ChrisSeabrooke</dc:creator>
      <dc:date>2010-07-09T20:34:07Z</dc:date>
    </item>
    <item>
      <title>Re: offset capture toggle</title>
      <link>https://community.esri.com/t5/arcpad-questions/offset-capture-toggle/m-p/297318#M2144</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Whilst there isn't a way for customizers to programmatically to determine if offsetpoly is currently active, you can use the following workaround to measure the number of seconds the offsetpoly command takes, i.e.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Dim start, elapsed&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;start = now&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ExecuteCommand("offsetpoly")&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;elapsed = (now - start) * 86400.0&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If the command toggled the tool to the "off" state, then elapsed will be low, usually, 0.0. If the command toggled the tool to the "on" state, a dialog box appears and it usually takes the user at least 3 seconds to respond to it. So, you can used this fact to make an educated guess at what happened and react accordingly. For example,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Dim start, elapsed&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;start = now&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ExecuteCommand("offsetpoly")&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;elapsed = (now - start) * 86400.0&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If elapsed &amp;lt;= 1.0 Then&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; ExecuteCommand("offsetpoly")&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;End If&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jul 2010 00:03:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcpad-questions/offset-capture-toggle/m-p/297318#M2144</guid>
      <dc:creator>StephenQuan</dc:creator>
      <dc:date>2010-07-15T00:03:23Z</dc:date>
    </item>
  </channel>
</rss>

