![]() |
|
|||||||
| Register | Search | Today's Posts | Mark Forums Read |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|
#1 (permalink) |
|
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? |
|
|
|
|
|
#3 (permalink) | |
|
Registered Member
Join Date: Dec 2003
Location: SW Oz
Posts: 1
|
Quote:
|
|
|
|
|
|
|
#5 (permalink) |
|
Knight Tooth Puller
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. |
|
|
|