*** AltThen

This program can detect a key press/release event, wait for a certain time, and send a stroke of keys to the active window.

The interface is currently in Japanese. Please figure it out, read the source, or write it again by yourself.

** A quick introduction

Run the AltThen.exe
Check the left checkbox.
Click [Here]. Yes, click the word "[Here]" in this text, which you are probably viewing via some text editor.
Click somewhere else, if you are using an uneditable viewer.
The letters "Text1" will appear.
This is because AltThen has sent the key event to the text editor.

** How to use in Fullauto Bookscanner

This is an instruction to set up AltThen to send re-scan command to Windows Scanner and Camera Wizard, 5 seconds after each mouse right button release.

Check the checkbox on the right.(This is 'invert' mode, where AltThen detects key release instead of key press)
Enter '2' into the first textbox.(This textbox is to specify the trigger key. 2 is the windows virtual key code for mouse right button.)
Enter '%B%N%N' in the second textbox.(This textbox represents the keys to be sent. '%B%N%N' is a Sendkeys command for 'Alt+B Alt+N Alt+N' keys. If you are using Windows Scanner and Camera Wizard, and the wizard is at scan finished position, this command will cause the wizard to scan again.)
You must set the third textbox to the time your Fullauto Bookscanner takes to lift the arm to the scanning position. This is about 5 seconds.
Then, check the left checkbox to activate AltThen.


Copyright(C) 2006 MURANUSHI Takayuki

This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-