NetStumbler.org Forums

Go Back   NetStumbler.org Forums > NetStumbler Community > Scripts
Register Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old 01-02-2007   #1 (permalink)
goldfndr
Knight Tooth Puller
 
goldfndr's Avatar
 
Join Date: Aug 2004
Location: Bellevue, WA, USA
Posts: 182
Cool NetStumbler 0.4 Helper

Attached is an HTML Application intended for running different (or multiple) configurations of NetStumbler. For example, if sometimes you wimp out with a D-Link and a DigiTraveler GPS, and other times you are allowed the privilege of a supported ORiNOCO and a SiRFstar III-based USB or Bluetooth GPS.

Instructions: Simply rename it to ns04helper.hta (or nearly any other name ending with .hta) and double click it. Configure NetStumbler as desired, then use the Helper to Capture it. Configure differently, and Capture again. Then Load at any time.

There is (as of the initial offering) one configuration item: the number of Profiles to keep. Change as needed. One could argue that the icon location (4th line) is also somewhat configurable - I just hardcoded the path to where netstumbler.exe is stored by default.

Configuration settings are stored in the registry as siblings of the normal NetStumbler settings, but with the configuration number as a prefix. In the initial release, it's only storing Device, Script, and GPS info, but more could be added.

Currently, it only executes NetStumbler.exe, but other possibilities could be added (e.g. XPort3 or GPSGate or MapPoint or Roadnav). If you'd find that useful, please post a sample GUI mockup.

Send feedback, and enjoy!
Newsflash: see last post! (I'll edit this later.)
Attached Files
File Type: txt 20070102.txt (3.5 KB, 63 views)
File Type: txt 20070602.txt (8.4 KB, 7 views)
__________________
For quickest response, catch me on IRC: #wigle

Last edited by goldfndr : 06-02-2007 at 03:11 AM.
goldfndr is offline   Reply With Quote
Old 03-26-2007   #2 (permalink)
ben_b
Registered Member
 
Join Date: Mar 2006
Posts: 5
Nice script! Do you think it could remember "New document starts scanning" and "Reconfigure card automatically" settings?
ben_b is offline   Reply With Quote
Old 06-02-2007   #3 (permalink)
goldfndr
Knight Tooth Puller
 
goldfndr's Avatar
 
Join Date: Aug 2004
Location: Bellevue, WA, USA
Posts: 182
At long last, I have what I think is a stable update of this helper. It adds the following features:
  • "New document starts scanning" and "Reconfigure card automatically", per request.
  • Shortens the names of your network devices -- instead of showing "Intel(R) Pro/Wireless 3945ABG Network Connection", it shows a cleaner "Intel(R) PRO/3945ABG". Also cuts out "USB" and "Adapter".
  • For anything in the folder where NetStumbler is installed, the path is shortened to "<NS>". Again, easier to read.
  • There are two georeferencing possiblities:If a GeoReferencing button is visible, and at least one active script has UseDiGLE=true, a table will be displayed showing coordinates. If there's movement, the table will be green with yellow letters. If still, the table will be red with black letters.
    There are a couple of caveats based on method:
    • Audacity won't take a filename to save, so it's a bit slow to stop. And it uses the full GPS coordinates from the registry as populated by UseDiGLE (or equivalent), so the filenames will be variable length.
    • HarddiskOgg has a long startup time -- on my laptop, it seems about one second. So, after you press the button, be sure to wait one second for the recording to start.
    Both buttons will mute the sound, so even if you have four or five devices playing MIDI going along with some music on a media player, all will be silenced to ensure a clean recording. An external microphone and a neutered ball mouse may be preferable.
    What is this for? So that, along with contributing tracks to OpenStreetMap (or elsewhere), you can also use your laptop as a sound recorder to note what the nodes are -- a few seconds will be recorded, and the recording's filename will include the GPS coordinates. Note that looking at a laptop's display may be illegal in some jurisdictions. If there's a more appropriate term than georeferencing, please post it.
  • Accelerator keys have been added -- look for the underlines and use Alt.
  • Buttons have been rearranged for utility. If you've started NetStumbler, you can shrink the window and still have access to the important stuff.
  • The default icon is now the NetStumbler uninstaller (uninst.exe), to make it more obvious in the task bar. If you don't have NetStumbler installed in the default location, that icon won't appear, but feel free to edit it -- sadly, HTAs don't seem to offer an ability to dynamically change their icon's location (the HTA:APPLICATION's ICON attribute).
  • If an action button is pressed, the button will be disabled for a short time to prevent conflicts (e.g. NetStumbler uses the time down to seconds for a filename).
That's all I can think of, but there might be more.

For the next version, I'm hoping to retain the name of the EXE and NS it uses, so that if it crashes, it can resume with the same .NS file.
__________________
For quickest response, catch me on IRC: #wigle

Last edited by goldfndr : 06-02-2007 at 03:31 AM. Reason: Cleanup
goldfndr is offline   Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



Google
 
Web NetStumbler.org

All times are GMT -7. The time now is 08:07 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0 ©2007, Crawlability, Inc.


All messages express the views of the author and are for entertainment purposes only. Netstumbler.org cannot be held responsible for the authenticity of the content or the actions of its members. By using this site and its services, you warrant that you will not post any messages that are discriminating, obscene, hateful, threatening, or otherwise violates any laws and you release Netstumbler.org from any future claims of any kind whatsoever including, but not limited to, addiction and loss of productivity. All forum messages, private messages and any other content are properties of Netstumbler.org. Even if publicly available, personal or copyrighted information are not to be posted without the consent of the owner. Distribution of licensed and copyrighted materials in any way not endorsed by the copyright owner is strictly prohibited. You may not use this site and its resources to spam other sites or individuals or perform any action that violates any law. Items sold or bought in the For Sale forum are sold as is and no warranty or insurance of any kind is provided. Netstumbler.org cannot be held responsible for the outcome of any transactions and no warranty of any kind is provided, either express or implied. Vulgar words are not allowed in the subject lines ; they may be used in the message body in any forum. The Administrator, Super Moderators and Moderators of Netstumbler.org have the right to remove, edit, move or close any thread for any reason and to reveal your identity and other known information in the event of a complaint or legal action arising from any message posted by you.