──────────────── Moderator log ────────────────
Executed by: namejm
Note: {tid=25415}"The second edition of 'IE-Interface Batch Address Book' " has a contextual
relationship with this topic, and has been merged into this topic.
──────────────── Moderator log ────────────────
Tested OK on XP SP1&SP2 (only supports the system's default IE browser)
1、 Pressing the 【F5】 key cannot be used to refresh the interface, otherwise all buttons in the interface will stop working, and you can only click the close-window button and start over;
when entering input in the IE interface and clicking the corresponding button, after the IE interface closes, when the batch command gets information from the VBS script,
sometimes the prompt for the next step reacts a bit slowly; it seems to be a problem between the system's VBS-script IE interface and the batch file.
2、 In the main interface, the currently cannot be directly imported into the input box for the time being. After entering a contact name or phone number in the input box,
you can directly press Enter for .
3、 In the main interface, pure numeric input is judged as the first mobile number (currently only the first mobile number can be judged). If that first mobile number exists in the database,
that contact's data will be displayed; when characters other than pure numbers are entered, if that contact exists in the database,
that contact's data will be displayed automatically; if that contact does not exist in the database, it will automatically ask whether to add a new
contact.
4、 The default Enter key action is: main interface > ; contact data > return to main interface; all contacts data > view the next
page of contact data.
5、 At present there are only the functions for searching/adding contacts, viewing all contact data, and deleting contacts for the time being; the function for modifying contact
data is being improved.
Function implementation:
VBS creates the IE window contents, and “for /f "delims=" %%i in ('"cscript //nologo %Temp%\Temp.vbs"') do ...” reads the IE window contents back to the batch file.
Using moderator namejm's dictionary-search function script “for /f "tokens=1,2,3* delims=:" %%i in ('findstr /nirc:"%input%" Tel\Tel.db') do ...” to search contact data.
Some module functions:
On first use, first create the database and generate the background image (made with electronixtar's any2bat.vbs)
:MinRun-:Start-minimizes the command prompt window
==================================================================
Second edition of the IE-Interface Batch Address Book
Tested OK on XP SP1&SP2 (only supports the system default browser being IE)
Added modifying contact data and database sorting
[
Last edited by namejm on 2007-2-3 at 10:21 AM ]