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-30-2005   #1 (permalink)
goldfndr
Knight Tooth Puller
 
goldfndr's Avatar
 
Join Date: Aug 2004
Location: Bellevue, WA, USA
Posts: 182
OnEnableScan at start, OnDisableScan at exit

If the "New document starts scanning" checkbox is enabled in Options (or "HKCU\Software\Bogosoft\NetStumbler\Settings\A uto Start Scan" is 1, for those who use the registry), I'd like it if NetStumbler would call OnEnableScan shortly after initializing the scripting engine. I'm working around it by checking for an initial instance every time a call to OnScanComplete occurs, but adding this call would allow a reduction of overhead.

Additionally, I'd like it if NetStumbler would call OnDisableScan shortly before stopping the scripting engine when it is asked to exit. I'm working around this by setting a value in the registry every time a call to OnScanComplete occurs, but adding this call would allow a reduction of overhead. Alternatively, or additionally, a call to OnExit (or something similar) would be helpful for cleanup purposes.

Here's a 6-line script that allows one to test these experiences:

Sub OnEnableScan()
MsgBox "EnableScan"
End Sub
Sub OnDisableScan()
MsgBox "DisableScan"
End Sub
goldfndr is offline   Reply With Quote
Old 06-30-2005   #2 (permalink)
Dutch
Humourless EuroMod.
 
Dutch's Avatar
 
Join Date: Mar 2004
Location: City of Mermaids, Denmark
Posts: 6,819
Wrong section, this section is for suggestions and requests relating to the website, not the program.
Moved to the Script section, but I suggest you contact Marius directly. Contact details available at his site : http://www.stumbler.net

Dutch
__________________
All your answers are belong to Google. SEARCH DAMMIT!
Warning. Warning.
Low C8H10N4O2 level detected. Operator halted....
Dutch is offline   Reply With Quote
Old 07-01-2005   #3 (permalink)
goldfndr
Knight Tooth Puller
 
goldfndr's Avatar
 
Join Date: Aug 2004
Location: Bellevue, WA, USA
Posts: 182
Quote:
Originally Posted by Dutch
Wrong section, this section is for suggestions and requests relating to the website, not the program.
Moved to the Script section, but I suggest you contact Marius directly.
I find myself confused at that.
goldfndr is offline   Reply With Quote
Old 07-01-2005   #4 (permalink)
Thorn
Did you do the math?
 
Thorn's Avatar
 
Join Date: Apr 2002
Location: Villa Straylight
Posts: 10,361
Quote:
Originally Posted by goldfndr
Read the Forum descriptions:

"Suggestions/Requests
Want to see something on NetStumbler.com/.org? Post your idea here! (Note - Posting does not guarantee that your idea will be implemented)"

Originally, the Suggestions/Requests Forum was for suggestions pertaining to the program, but aFR chenged it. Now it pertains only to the site.
__________________
Thorn
"Read Altas Shrugged. Compare it to today. Repeat as necessary"
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 11:26 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2009, 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.