<?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: More than one script file in ArcPad Questions</title>
    <link>https://community.esri.com/t5/arcpad-questions/more-than-one-script-file/m-p/289124#M2086</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I don't know if I understood exactly what you want, but I will try to help you.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can have multiple APA's working at the same time, you only have to put them in your APPLET folder.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And you can just write the Jscript code that you want to use in an ON EVENT that is related to its use. So you can have in the same layer the first script related to the APL file and the second one written in an ON EVENT, for example located in ON SET ACTIVE in the PAGE events....&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;hope it helps.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Gustavo&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 06 Nov 2012 09:16:27 GMT</pubDate>
    <dc:creator>GustavoBediaga</dc:creator>
    <dc:date>2012-11-06T09:16:27Z</dc:date>
    <item>
      <title>More than one script file</title>
      <link>https://community.esri.com/t5/arcpad-questions/more-than-one-script-file/m-p/289123#M2085</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;As far as I know, it is not possible to have more than one JScript file related to an Applet file (.apa) or Layer definition file (.apl). Let's say I have a general JScript file that I want to link/reuse in many Applets together with an Applet specific JScript file. How should I solve this?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Nov 2012 10:35:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcpad-questions/more-than-one-script-file/m-p/289123#M2085</guid>
      <dc:creator>Dag_MartinRomslo</dc:creator>
      <dc:date>2012-11-05T10:35:36Z</dc:date>
    </item>
    <item>
      <title>Re: More than one script file</title>
      <link>https://community.esri.com/t5/arcpad-questions/more-than-one-script-file/m-p/289124#M2086</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I don't know if I understood exactly what you want, but I will try to help you.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can have multiple APA's working at the same time, you only have to put them in your APPLET folder.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And you can just write the Jscript code that you want to use in an ON EVENT that is related to its use. So you can have in the same layer the first script related to the APL file and the second one written in an ON EVENT, for example located in ON SET ACTIVE in the PAGE events....&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;hope it helps.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Gustavo&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Nov 2012 09:16:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcpad-questions/more-than-one-script-file/m-p/289124#M2086</guid>
      <dc:creator>GustavoBediaga</dc:creator>
      <dc:date>2012-11-06T09:16:27Z</dc:date>
    </item>
    <item>
      <title>Re: More than one script file</title>
      <link>https://community.esri.com/t5/arcpad-questions/more-than-one-script-file/m-p/289125#M2087</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I don't know if I understood exactly what you want, but I will try to help you.&lt;BR /&gt;&lt;BR /&gt;You can have multiple APA's working at the same time, you only have to put them in your APPLET folder.&lt;BR /&gt;&lt;BR /&gt;And you can just write the Jscript code that you want to use in an ON EVENT that is related to its use. So you can have in the same layer the first script related to the APL file and the second one written in an ON EVENT, for example located in ON SET ACTIVE in the PAGE events....&lt;BR /&gt;&lt;BR /&gt;hope it helps.&lt;BR /&gt;&lt;BR /&gt;Gustavo&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you! You put me on a track that seems to work ok.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;What about returning results from methods in other scripts? This is not possible through Applets["MyApplet"].Execute("MyScript"). My solution to this is to put the result in a "global variable" in Application.UserProperties("myResult"). Is this the way to do it?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Nov 2012 07:45:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcpad-questions/more-than-one-script-file/m-p/289125#M2087</guid>
      <dc:creator>Dag_MartinRomslo</dc:creator>
      <dc:date>2012-11-09T07:45:27Z</dc:date>
    </item>
    <item>
      <title>Re: More than one script file</title>
      <link>https://community.esri.com/t5/arcpad-questions/more-than-one-script-file/m-p/289126#M2088</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Thank you! You put me on a track that seems to work ok.&lt;BR /&gt;What about returning results from methods in other scripts? This is not possible through Applets["MyApplet"].Execute("MyScript"). My solution to this is to put the result in a "global variable" in Application.UserProperties("myResult"). Is this the way to do it?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I don't know if it is the only way to do it, but it certain works. I have a login script, that opens a form where the user types his name, and it stores the name as a Application.UserProperties, wich is used in many others scripts and forms of my APM project...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am having no problem with that!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this works for you.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Gustavo&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Nov 2012 08:46:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcpad-questions/more-than-one-script-file/m-p/289126#M2088</guid>
      <dc:creator>GustavoBediaga</dc:creator>
      <dc:date>2012-11-09T08:46:39Z</dc:date>
    </item>
  </channel>
</rss>

