CaptchaAlertEng.txt

(3 KB) Pobierz
Captcha Alert ver. 1.2 by nicodocet
-----------------------------------

Starting from CHRONOMASTER's script idea, I wrote in VB6 a very simple tool for captcha window alert.
It can be also used as general allerter for the presence of any other window (also multiple window at a time) on the desktop, not only for captcha window.
Captcha Alert is a standalone one-file tool, not a JD plug-in.

Purpose:
Alerts the user with a sound when JD captcha window (or any other window) pops up.

Features:
- scans every seconds the desktop, looking for JD captcha window (or any other window)
- supports multiple windows watchdog at a time (according to the number of titles provided in .ini file)
- plays a .wav file when JD captcha window is detected
- replicate the sound, at a regular intervals, until the captcha windows is closed or (with the checkbox cheked) until the alert is reset
- stops countdown timer in JD captcha window
- fully customizable (window title, .wav file, interval, buttons caption etc.) via .ini file

OS System:
Windows running XP (tested), but should works also on Vista and Win7 (both untested), with VisulaBasic runtime libraries installed.

Licence:
Captcha Alert is published as freeware

Warning:
Captcha Alert is released as it is, with no responsibilities about it usage.
I'm just a beginner with coding, so will find in this tool nothing a real programmer could do much better.

Note about CaptchaAlert.ini file:
To create CaptchaAlert.ini just run and quit the tool.
To modify CaptchaAlert.ini open and save it with a text editor. 

The CaptchaAlert.ini file must conform to this format:

1. (JD captcha window title, also partialy. Multiple titles must be splitted with a "|" separator)
2. (path of the .wav sound file)
3. (interval in seconds after the sound is replicated)
4. (last checkboxes state before quitting)
5. (first checkbox caption)
6. (Reset button caption)
7. (Quit button caption)
8. (CaptchaAlert window vertical position)
9. (CaptchaAlert window orizzontal position)
0. (second checkbox caption)
A. (third checkbox caption)

example (ENG):
1. : Please enter
2. C:\WINDOWS\media\notify.wav
3. 5
4. 011
5. sounds until reset
6. Reset
7. Quit
8. 100
9. 100
0. stay always on top
A. stop countdown

example (ITA):
1. : Inserire
2. C:\WINDOWS\media\notify.wav
3. 5
4. 011
5. suona fino al reset
6. Reset
7. Esci
8. 100
9. 100
0. stay always on top
A. ferma conto rovescia

example for multiple windows watchdog (MULTI lang):
1. : Please enter | : Inserire | : Por favor ingresar | : Bitte eingeben!
2. C:\WINDOWS\media\notify.wav
3. 5
4. 011
5. sounds until reset
6. Reset
7. Quit
8. 100
9. 100
0. stay always on top
A. stop countdown

-----------------------------------
Changelog:
-----------------------------------

v.1.0
- first stable version, released on 04/11/2010 for JD Community forum

v.1.1 (06/11/2010)
- at first start (i.e., without an already existing .ini file) Captcha Alert retrieves windows folder path by Environ("windir") function for better compability
- reset is now immediatly effective, also when the allerted window is still present
- added support for multiple windows watchdog at a time (according to the number of titles provided in .ini file)
- entrirely rewritten watchdog function, to increase performance
- the position of Captcha Alert window is saved before quitting
- added a checkbox to force Captcha Alert's window to stay always on top in z-order
- added a raw error-handler for reading and writing operations of the .ini file.

v.1.2 (29/01/2011)
- added a checkbox to stop countdown timer in JD captcha window
Zgłoś jeśli naruszono regulamin