View Single Post
Old 10-05-2004   #11 (permalink)
Zharvek
Registered Member
 
Join Date: Nov 2003
Location: Clermont, FL
Posts: 4
Post

Yeah, at the moment, my script just uses a fso.OpenTextFile() and writes the lines to the file (Probably not the most efficient way). The problem is that it writes the same AP more then once because Netstumbler feeds data to the script everytime there is a response to its beacon. (Why I wanted this, StumblerX because it claims to never feed the same MAC address).

I've moved on to finding some code (VBScript or VB6) that will open a text file, remove duplicate lines, and then save the file. I have found a sample script around the internet that will do the same, but it also sorts the list, which makes the resulting text file useless for my application (The last seen AP has to be at the bottom of the text file).

I have tried editing the code to remove the sorting option, but no luck thus far. Would posting the sample code help somebody figure out how to make it stop sorting? Thanks.
Zharvek is offline   Reply With Quote