![]() |
|
|||||||
| Register | Search | Today's Posts | Mark Forums Read |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|
#1 (permalink) |
|
Knight Tooth Puller
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 |
|
|
|
|
|
#2 (permalink) |
|
Humourless EuroMod.
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.... |
|
|
|
|
|
#4 (permalink) |
|
Did you do the math?
Join Date: Apr 2002
Location: Villa Straylight
Posts: 10,361
|
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" |
|
|
|