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 11-28-2004   #16 (permalink)
Thorn
Did you do the math?
 
Thorn's Avatar
 
Join Date: Apr 2002
Location: Villa Straylight
Posts: 10,096
Quote:
Originally Posted by Xavier00
<HTML>
<HEAD>
<TITLE>Open Netstumbler</TITLE>
<SCRIPT LANGUAGE="VBScript">
<!--
Option Explicit
dim objShell

set objShell=CreateObject("Wscript.Shell")
objShell.Run("C:\Program Files\Network Stumbler\netstumbler.exe")



-->
</SCRIPT>
</HEAD>
<BODY>
</BODY>
</HTML>
This isn't a VB / VB Scripting site. You might want to get a book or at least find a site devoted scripting on Windows machines. For example: http://msdn.microsoft.com/library/en-us/default.asp
__________________
Thorn
"I'm The Doctor. I'm a Time Lord. I am from the planet Gallifrey in the constellation Kasterborous. I'm 903 years old and I am the man who is going to save your lives and all 6 billion people on the planet below... You got a problem with that?"
Thorn is offline   Reply With Quote
Old 11-28-2004   #17 (permalink)
Xavier00
Registered Member
 
Join Date: Nov 2004
Posts: 4
Clarification

Quote:
Originally Posted by Thorn
This isn't a VB / VB Scripting site. You might want to get a book or at least find a site devoted scripting on Windows machines. For example: http://msdn.microsoft.com/library/en-us/default.asp

So are you saying I am not allowed to post VBScript or are you saying you are not familiar with VBScript and if so are you saying no one else would be familiar with it either? Sorry I am new to this so I just want to clarify for future reference.

Basically, My problem is, I need to write a program that takes the signal strength measured by netstumbler takes the average of it and then stores it. This process will run however many times, storing an average value sperately and for each instance, then it will compare all stored average values for the best one.

Now, I am very new to programming. I am unfamiliar with the NetStumbler script nor do I even understand what script it is written in. I have read through the majority of the postings but everone appears kind of elite. I am not at your level, yet.

I would appreciate any help and/or guidance anyone can offer me and if you can lead me to a script that does what I am asking for that would even be all the better.

Thanks a lot you guys. I really appreciate this.

Last edited by Xavier00 : 11-28-2004 at 11:02 PM.
Xavier00 is offline   Reply With Quote
Old 11-28-2004   #18 (permalink)
wrzwaldo
I amuse you?
 
Join Date: Dec 2003
Posts: 9,127
Quote:
Originally Posted by Xavier00

...

I would appreciate any help and/or guidance anyone can offer me and if you can lead me to a script that does what I am asking for that would even be all the better.

Thanks a lot you guys. I really appreciate this.
http://msdn.microsoft.com/library/en-us/default.asp

http://www.google.com/

http://visualbasic.about.com/c/ec/1.htm

http://vbprogzone.cjb.net/

http://www.startertool.com/en_it-boo...59200072X.html

http://www.training-classes.com/cour...rogramming.php
wrzwaldo is offline   Reply With Quote
Old 11-28-2004   #19 (permalink)
Thorn
Did you do the math?
 
Thorn's Avatar
 
Join Date: Apr 2002
Location: Villa Straylight
Posts: 10,096
Quote:
Originally Posted by Xavier00
So are you saying I am not allowed to post VBScript or are you saying you are not familiar with VBScript and if so are you saying no one else would be familiar with it either? Sorry I am new to this so I just want to clarify for future reference.
No, I'm saying exactly what I said originally:
1) This isn't a VB / VB Scripting site.

2) You might want to get a book or at least find a site devoted scripting on Windows machines.

It's simple. This Scripting Forum is for running scripts within NS. NS will run any script engine installed on a given machine. No one coming in here should expect support on every possible script language.

This is especially true when you're not even trying to run a script within NS.

Since you are admittedly "trying to learn VBScript" you may have better luck choosing other options, such as the MSDN, another site devoted to VB, or a book on VB rather than this site.
__________________
Thorn
"I'm The Doctor. I'm a Time Lord. I am from the planet Gallifrey in the constellation Kasterborous. I'm 903 years old and I am the man who is going to save your lives and all 6 billion people on the planet below... You got a problem with that?"
Thorn is offline   Reply With Quote
Old 11-29-2004   #20 (permalink)
Xavier00
Registered Member
 
Join Date: Nov 2004
Posts: 4
Miscommunication

I am trying to run a script within NS. Thats the whole point. I just dont know how to do it. Screw VB. I just that that was a solution. I need a program that does what I said it would do in my earlier posts...about he average and such...I am unfamiliar with the NS Script.....that is the main goal....it doesnt have to be in VB....I just dont know what the hell the NS Script is or how to write something in it. I am not trying to learn VB. I need to be able to call the functions in NS to do the average thingy I talked about earlier. I dont understand the default NS Script or how to use it. The program is key....VB is the least of my worries. I just thought I was headed in the right direction using it.

I hope this clarifies things.

That Program is to ....

Basically, My problem is, I need to write a program that takes the signal strength measured by netstumbler takes the average of it and then stores it. This process will run however many times, storing an average value sperately and for each instance, then it will compare all stored average values for the best one.

As stated before...
Xavier00 is offline   Reply With Quote
Old 11-29-2004   #21 (permalink)
Thorn
Did you do the math?
 
Thorn's Avatar
 
Join Date: Apr 2002
Location: Villa Straylight
Posts: 10,096
Quote:
Originally Posted by Xavier00
I am trying to run a script within NS. Thats the whole point. I just dont know how to do it. Screw VB. I just that that was a solution. I need a program that does what I said it would do in my earlier posts...about he average and such...I am unfamiliar with the NS Script.....that is the main goal....it doesnt have to be in VB....I just dont know what the hell the NS Script is or how to write something in it. I am not trying to learn VB. I need to be able to call the functions in NS to do the average thingy I talked about earlier. I dont understand the default NS Script or how to use it. The program is key....VB is the least of my worries. I just thought I was headed in the right direction using it.

I hope this clarifies things.

...
Yes, it does. Part of the confusion was the last example was a web page attempting to run a script which then calls NS. Maybe that wasn't quite what you wanted, or was just an attempt to learn, but it wasn't an NS script, per se.


Quote:
Originally Posted by Xavier00
That Program is to ....

Basically, My problem is, I need to write a program that takes the signal strength measured by netstumbler takes the average of it and then stores it. This process will run however many times, storing an average value sperately and for each instance, then it will compare all stored average values for the best one.

As stated before...
Do you have any other script languages that you prefer? You may be able to write the script in something you're more familiar with (PERL, C, etc.) NS will run any engine installed on the PC.

VB does have the advantage of a lot of resources (sites, books, etc.) and may be a good choice if you don't know any language and are just starting out. However, if you are just starting out (with absolutely no languages under your belt), you should really start with a good book or a class.

Not knowing your exact reason for doing this, I don't know if this would fit your needs, but another altenative may be to extract the information in a post-process. Dump the NS logs to text, then parse it, and extract what you need. NS records the RSSI each time it sees the AP, so all of that is available. Then it's a matter of parsing the RSSI readings and doing the averaging. It may be a lot easier than attempting to do it in real time, if you don't need real time processing.
__________________
Thorn
"I'm The Doctor. I'm a Time Lord. I am from the planet Gallifrey in the constellation Kasterborous. I'm 903 years old and I am the man who is going to save your lives and all 6 billion people on the planet below... You got a problem with that?"
Thorn 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 01:42 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.