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 08-21-2003   #1 (permalink)
longneck
Registered Member
 
Join Date: Apr 2003
Posts: 1
oziexplorer api and vbscript - NOT!

so i saw that oziexplorer has an API that lets you move waypoints around. perfect, now i can load aerial photos in and watch the access points dance on the map!

but after i spend 45 minutes bangng my head against vbscript errors, i come to realize that vbscript doesn't support the DECLARE statement to use an external DLL. crap!

does anyone have a suggestion for scripting an interface between ozi and netstumbler?
longneck is offline   Reply With Quote
Old 09-13-2003   #2 (permalink)
Machismo
Registered Member
 
Machismo's Avatar
 
Join Date: Sep 2003
Location: North Coast of NSW, Australia
Posts: 2
Unhappy

Sounds rather groovie.. I'm usin net stum with oze the hard yakka way.
Machismo is offline   Reply With Quote
Old 12-08-2003   #3 (permalink)
toolbrunup
Registered Member
 
Join Date: Dec 2003
Location: SW Oz
Posts: 1
Quote:
I'm usin net stum with oze the hard yakka way.
Yeah same here! I was having a look at the Ozi waypoint file and its pretty much a comma delimited file. Might be an idea to make a script or app to create a waypoint file from the logs. Will have a go at some point when i get some time!
toolbrunup is offline   Reply With Quote
Old 01-12-2004   #4 (permalink)
pixel
Registered Member
 
Join Date: Jan 2004
Posts: 1
VBScript and external DLL

You can create a CM object using the CreateObject() method:

Dim ozi
Set ozi = CreateObject('OZIAPP.blah')

--Eric
pixel is offline   Reply With Quote
Old 11-06-2004   #5 (permalink)
goldfndr
Knight Tooth Puller
 
goldfndr's Avatar
 
Join Date: Aug 2004
Location: Bellevue, WA, USA
Posts: 182
Attached is a very very preliminary OCX that should work to provide OziExplorer users with some decent scripting functionality.

You'll need to run "regsvr32 goldfndr.ocx" and have the OziApi.dll in your path (or perhaps in the same folder as the VBS).

The tlb.txt in there is sort of an ugly description of what's implemented; it should be everything except for the callback functions (MapSingleClickON, MapDblClickON, ObjectClickON, SendPositionMMON, Oedometer1ON, Oedometer2ON). Note that lat, lon, Zone, Northing, Easting, and FileName are set/read as properties; also err can be read after nearly every command to see if it succeeded or failed (within the APISetTimeout time, of course).

Please try it out and comment on whether it works or fails for you. I'd like to get a grip on how good it is before attempting to incorporate its use into the Master script.
Attached Files
File Type: zip OZIVB.zip (16.9 KB, 28 views)
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 05:50 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.