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 06-03-2004   #1 (permalink)
steven_m64
Registered Member
 
Join Date: Dec 2003
Posts: 4
Python Scripts

Can someone tell me how do i call any of the built in netstumbler functions (PlaySound, PlaySoundLoop, AddItemContextMenu)

i just keep getting "not defined" error's
steven_m64 is offline   Reply With Quote
Old 06-04-2004   #2 (permalink)
King_Ice_Flash
Alien Paranoid Stumbler
 
King_Ice_Flash's Avatar
 
Join Date: May 2003
Location: WI
Posts: 2,625
Either buy this book or search this site for the default script. It's in both of them.
__________________
"Yeah," said a voice from under the table, "you go to pieces so fast people get hit by the shrapnel."
King_Ice_Flash is offline   Reply With Quote
Old 06-04-2004   #3 (permalink)
steven_m64
Registered Member
 
Join Date: Dec 2003
Posts: 4
Unhappy

Quote:
Originally Posted by King_Ice_Flash
Either buy this book or search this site for the default script. It's in both of them.
The default script Does not show how to call netstumbler functions in a Python script.

and as i have a low budget i dont buy books to look up small thing's.

for example
PlaySound "ns-signal-4.WAV"
would cause a invalid syntax error

Last edited by steven_m64 : 06-04-2004 at 12:05 PM.
steven_m64 is offline   Reply With Quote
Old 06-05-2004   #4 (permalink)
King_Ice_Flash
Alien Paranoid Stumbler
 
King_Ice_Flash's Avatar
 
Join Date: May 2003
Location: WI
Posts: 2,625
I'm sorry, I thought you were looking for an example of the default script to figure out how to play the sounds so you could write your own script. I am not sure if that language is supported, I thought NS only used java and vb.
__________________
"Yeah," said a voice from under the table, "you go to pieces so fast people get hit by the shrapnel."
King_Ice_Flash is offline   Reply With Quote
Old 06-05-2004   #5 (permalink)
Thorn
Did you do the math?
 
Thorn's Avatar
 
Join Date: Apr 2002
Location: Villa Straylight
Posts: 10,042
Quote:
Originally Posted by King_Ice_Flash
I'm sorry, I thought you were looking for an example of the default script to figure out how to play the sounds so you could write your own script. I am not sure if that language is supported, I thought NS only used java and vb.
It will run any scripting engine installed on the PC.
__________________
Thorn
"Lawyers should never marry lawyers. This is called inbreeding. It produces idiot children and more lawyers."
Thorn is offline   Reply With Quote
Old 06-05-2004   #6 (permalink)
steven_m64
Registered Member
 
Join Date: Dec 2003
Posts: 4
So nobody knows how to do it?
steven_m64 is offline   Reply With Quote
Old 06-05-2004   #7 (permalink)
wrzwaldo
I amuse you?
 
Join Date: Dec 2003
Posts: 9,127
How familiar with python are you?
wrzwaldo is offline   Reply With Quote
Old 06-05-2004   #8 (permalink)
steven_m64
Registered Member
 
Join Date: Dec 2003
Posts: 4
i started learning it a few weeks ago, and as i started learning python i remembered it was supported in netstumbler.
steven_m64 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 12: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.