Loading ...
Sorry, an error occurred while loading the content.

24119Re: [aprsisce] RE: APRSIS32 and the XML

Expand Messages
  • Rob Giuliano
    Oct 4, 2013
      Windows allows for a more "interpretive" language (that it isn't compiled, but is executable) in VBS (VB script).
      The *.bat file would also work just fine if properly configured.  The problem is that you MUST run them from the command line (although calling from something else IS easier), or create shortcuts on the desktop with predefind values to pass.  If you are doing that with shortcuts, the previously described method is better.
      The batch file would look something like:
      @echo off
      if %1.==%1. Goto Help
      if %1==KB8RCO GoTo KB8RCO
      Goto :Info
      Goto Done
      Goto Done
      Echo You need to provide the callsign-SSID that matches a setup
      Echo Like {n0call-0}
      Your structure would be
      \Radio - directory with APRSIS32.exe file.
               Also recommend putting map subdirectories here
      \Radio\Maps - like this
      \Radio\Maps\OSMTiles - like this
      \Radio\KB8RCO - XML and end up logs here for KB8RCO
      \Radio\KB8RCO-9 - XML and end up logs here for KB8RCO-9
      Make sure your XLM points to map directories properly.
      The good news is they could have the same format with a relative path like:
      Same as described in the "shortcut method".
      Robert Giuliano


      From: Lynn W Deffenbaugh (Mr) <kj4erj@...>
      To: aprsisce@yahoogroups.com
      Sent: Friday, October 4, 2013 2:44 PM
      Subject: Re: [aprsisce] RE: APRSIS32 and the XML
      I understand what you were thinking of, but when there's a solution that works, I'm not planning to implement something new and even more confusing that what things already are. Imagine trying to tell someone where to find the XML file or the LOG files when there's three different directories in force?  (The .EXE, the .XML, and the .LOGs).  I believe it's better that the XML and LOGs are all in the default directory in which the .EXE runs.  And anyone that can create a shortcut presumably understands the concept of "run in" better than someone that is drag/dropping a .XML on top of a .EXE (which is a side effect of supporting a .XML from the command line). Lynn (D) - KJ4ERJ - Author of APRSISCE for Windows Mobile and Win32 On 10/4/2013 2:34 PM, pa3bnx@... wrote:
       Hello EveryBody
       Tnx fer responses
       Yes the *.bat file good old ms-dos hi..
      .BATs aren't only for MS-DOS.  They work perfectly fine under Windows 7 (and presumably 8) and actually have a reasonably powered command language interpreter available now, although I've got no direct experience with it and it's by no means as robust as the *nix shells.
       But I thought of the
       Using the Command in Baic
      or In C Main(arguments)
       Tnx's all.
      Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

    • Show all 11 messages in this topic