View Single Post
  #1  
Old 04.11.2010, 00:17
nicodocet nicodocet is offline
JD Alpha
 
Join Date: Nov 2010
Posts: 20
Default Captcha Alert : a simple tool solution.

Captcha Alert ver 1.5 by nicodocet

Starting from CHRONOMASTER 's script idea, I wrote in VB6 a very simple tool for captcha sound 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
  • can work minimized in the system tray

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 comply to this format:

01. (JD captcha window title, also partialy. Multiple titles must be splitted with a "|" separator)
02. (path of the .wav sound file)
03. (interval in seconds after the sound is replicated)
04. (last checkboxes state before quitting)
05. ("sound until rest" checkbox caption)
06. (Reset button caption)
07. (Pause button caption)
08. (CaptchaAlert window vertical position)
09. (CaptchaAlert window orizzontal position)
10. ("stay always on top" checkbox caption)
11. ("stop countdown" checkbox caption)
12. ("minimize to tray" checkbox caption)
13. ("keys to send:" label)
14. (keys to send. Can be entered one or more keyboard characters or keystrokes)
15. ("start minimized" checkbox caption)
16. (Exit popup caption)
17. (Resume alternative button caption)


example (ENG):
Spoiler:
01. : Please enter
02. C:\WINDOWS\media\notify.wav
03. 5
04. 10001
05. sounds until reset
06. Reset
07. Pause
08. 100
09. 100
10. stay always on top
11. stop countdown
12. minimize to tray
13. keys to send:
14.
15. start minimized
16. Exit
17. Resume

example (ITA):
Spoiler:
01. : Inserire
02. C:\WINDOWS\media\notify.wav
03. 5
04. 10001
05. suona fino al reset
06. Reset
07. Pausa
08. 100
09. 100
10. sempre in primo piano
11. ferma conto rovescia
12. riduci nella systray
13. codici da inviare:
14.
15. avvia ridotto ad icona
16. Esci
17. Riprendi

example for multiple windows watchdog (MULTI lang):
Spoiler:
01. : Please enter | : Inserire | : Por favor ingresar | : Bitte eingeben!
02. C:\WINDOWS\media\notify.wav
03. 5
04. 10001
05. sounds until reset
06. Reset
07. Pause
08. 100
09. 100
10. stay always on top
11. stop countdown
12. minimize to tray
13. keys to send:
14.
15. start minimized
16. Exit
17. Resume


Download link:
See inside the attached file for the download link. Copy and paste it into your browser to download CaptchaAlert.

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

v.1.5 (23/03/2012)
- maintenance release, with minor improvements
- fixed a bug in the popup menu: now the menu is hidden by clicking outside it

v.1.4 (10/05/2011)
- added a checkbox to force Captcha Alert's window to be minimized in the system tray
- added a checkbox to start Captcha Alert already minimized
- added a popup menu to handle all Captcha Alert functions when minimized to the system tray
- removed Quit button
- added a Pause/Resume button to temporaly disable windows watchdog
- added different icons for Paused/Resumed state
- changed the .ini file format and fixed a bug in storing Captcha Alert's window position
- fixed a little graphic artifact in the GUI

v.1.3 (never released)
- added a textbox to enter one or more keyboard characters or keystrokes to be sended to the detected window.
See "**External links are only visible to Support Staff** for further details)

v.1.2 (29/01/2011)
- added a checkbox to stop countdown timer in JD captcha window

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.0
- first stable version, released on 04/11/2010 for JD Community forum

.
Attached Files
File Type: zip CaptchaAlert15.zip (21.5 KB, 1551 views)

Last edited by nicodocet; 24.03.2012 at 00:51.
Reply With Quote