What and Why? Here begins the debate.

Take a script, leave a script - Like the penny tray only different

What and Why? Here begins the debate.

Postby Thunderforge » Thu Aug 22, 2002 10:25 am

Ok it had to be asked eventually so I figured I'd take the bullet for this one.

I've never really done any script writing (except that movie I'll never get the studios to buy) but I want to start. Now I'm not asking anyone to show/tell/teach/walk me through writing scripts.

I want to know what Script language you prefer and why?

Network Stumbler 0.3.30 supports (per the dropdown box):

XML
VBScript
VBScript.Encode
JScript
JScript.Encode
SignedJavaScript
SignedVBScript

Do you prefer one of these or is your favorite something else not listed here. That's what I want to know.


"Give a man a script and he can play for a day, teach a man to script and he can keep himself entertained for days on end."
Back to the forge,
TF
User avatar
Thunderforge
Mini Stumbler
 
Posts: 342
Joined: Thu Jun 20, 2002 10:05 am
Location: Florida

Re: What and Why? Here begins the debate.

Postby blackwave » Thu Aug 22, 2002 10:28 am

Originally posted by Thunderforge
Do you prefer one of these or is your favorite something else not listed here. That's what I want to know.


perl!!!!

Actually, Marius stated that NS will show you in the drop down whatever your machine has installed on it... so on your machine you have not installed a flavor of perl and therefore do not show perl... NS does not run the script but passes the script to your system. :)

http://forums.netstumbler.com/showthread.php?s=&postid=25003#post25003
Originally posted by Marius

Netstumbler does not attempt to process the script itself, it just loads it into the scripting engine.

So... you are not restricted to VBScript. I have a piece of JScript that works. Or you can use any other language that appears in the scripting dialog box, since it gives you a list of what's on your system. Just make sure your script provides the same function names (OnScanResult, etc) as the default script.

I am working on proper documentation, as well as some samples in Perl and Python.


(see attached)
Attachments
options.jpg
options.jpg (18.31 KiB) Viewed 1555 times
-=BW=-
User avatar
blackwave
 
Posts: 4507
Joined: Mon Apr 15, 2002 3:00 am
Location: SoCal, OC

Postby Thunderforge » Thu Aug 22, 2002 10:39 am

I saw he had mentioned about it not actually being run by NS and wondered why perl wasn't listed since I had heard it mentioned alot. I didn't realize the dropdown list was based on what's installed on my machine.
Back to the forge,
TF
User avatar
Thunderforge
Mini Stumbler
 
Posts: 342
Joined: Thu Jun 20, 2002 10:05 am
Location: Florida

Postby jjkaczor » Thu Aug 22, 2002 10:43 am

I use vbscript to whip things off for COM-interoperability, as there are sooo many Microsoft samples.

I prefer JavaScript, as it is cleaner, and truer to form than vbs....

perl.... yuck (ducks, runs for cover), gimme python or ruby or java or C# over perl, any day of the week.
jjkaczor
 
Posts: 269
Joined: Sun Jul 28, 2002 7:54 am
Location: Calgary

Postby mentat » Thu Aug 22, 2002 12:04 pm

So the question follows, how do you "install Perl" on your machine. I've always just used perl in cygwin.
User avatar
mentat
Mini Stumbler
 
Posts: 476
Joined: Mon May 20, 2002 11:54 am
Location: CT

Postby blackwave » Thu Aug 22, 2002 12:09 pm

Originally posted by mentat
So the question follows, how do you "install Perl" on your machine. I've always just used perl in cygwin.


ActiveState's Active Perl
http://www.activestate.com/Products/Download/Download.plex?id=ActivePerl
-=BW=-
User avatar
blackwave
 
Posts: 4507
Joined: Mon Apr 15, 2002 3:00 am
Location: SoCal, OC

Postby TheWatcher » Thu Aug 22, 2002 1:58 pm

Originally posted by blackwave


[B]ActiveState's Active Perl

http://www.activestate.com/Products/Download/Download.plex?id=ActivePerl [/B]



I use perl for all backend scripts and php for my front-end brochure ....

Thanks to activestate.com ,now runs on windows os too.
Wardriving.INFO - "wireless web portal"
Wireless Sniffers - we got them, let me know if I missed your tools.
User avatar
TheWatcher
 
Posts: 344
Joined: Tue Jun 11, 2002 10:20 am
Location: Wardriving.INFO

Postby sparafina » Thu Aug 22, 2002 9:29 pm

Originally posted by TheWatcher
Thanks to activestate.com ,now runs on windows os too.


Umm, perl 4.36 has been running on Win32 platforms since 1993 thanks to Intergraph. The Hip/Active Ware/Active State port dates back to around 1997 thanks to funding from Microsoft. There are other ports available on CPAN.
User avatar
sparafina
Mini Stumbler
 
Posts: 1428
Joined: Tue May 07, 2002 2:12 pm
Location: TX,MD,NY

Postby TheWatcher » Fri Aug 23, 2002 8:04 am

Originally posted by sparafina


Umm, perl 4.36 has been running on Win32 platforms since 1993 thanks to Intergraph. The Hip/Active Ware/Active State port dates back to around 1997 thanks to funding from Microsoft. There are other ports available on CPAN.


I never thought that this availble as early as 1993, anyways thanks man.
Wardriving.INFO - "wireless web portal"
Wireless Sniffers - we got them, let me know if I missed your tools.
User avatar
TheWatcher
 
Posts: 344
Joined: Tue Jun 11, 2002 10:20 am
Location: Wardriving.INFO


Return to Scripts

Who is online

Users browsing this forum: No registered users and 2 guests

cron