China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --

Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!

中国DOS联盟论坛
The time now is 2026-07-22 09:46
中国DOS联盟论坛 » DOS批处理 & 脚本技术(批处理室) » "Batch Address Book for IE Interface" Second Edition [20061214] DigestI View 41,137 Replies 172
Floor 46 Posted 2006-12-06 02:28 ·  中国 山东 青岛 中移铁通
初级用户
Credits 63
Posts 33
Joined 2006-12-04 05:49
19-year member
UID 72514
Gender Male
Status Offline
Hope to get a look at it soon ah
Floor 47 Posted 2006-12-06 05:29 ·  中国 广西 玉林 博白县 电信
金牌会员
★★★★
Credits 3,687
Posts 1,467
Joined 2005-08-08 12:00
20-year member
UID 44210
Status Offline

──────────────── 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 ]
Recent Ratings for This Post ( 12 in total) Click for details
RaterScoreTime
redtek +15 2006-12-06 06:17
ccwan +8 2006-12-06 06:33
tao0610 +1 2006-12-06 07:08
youxi01 +4 2006-12-06 07:34
namejm +4 2006-12-06 10:17
pengfei +8 2006-12-06 11:11
voiL +4 2006-12-06 12:16
maya0su +2 2006-12-13 08:27
lzmyst +1 2007-02-28 05:39
youkkk +2 2007-03-01 09:00
Kinglion +5 2007-03-23 22:12
radem +1 2008-05-24 22:44
Attachments
IE 界面批处理通讯录.rar (6.01 KiB, Credits to download 1 pts, Downloads: 602)
IE 界面批处理通讯录第二版.rar (6.29 KiB, Credits to download 1 pts, Downloads: 571)
Floor 48 Posted 2006-12-06 05:33 ·  中国 河南 郑州 电信
中级用户
★★
Credits 439
Posts 170
Joined 2006-01-09 20:29
20-year member
UID 48707
Status Offline
Got it first, works well

[ Last edited by a9319751 on 2006-12-6 at 05:38 AM ]
bat c c++
Floor 49 Posted 2006-12-06 05:52 ·  中国 广东 电信
荣誉版主
★★★★
batch fan
Credits 5,226
Posts 1,737
Joined 2006-03-10 00:38
20-year member
UID 51697
From 成都
Status Offline
  The interface is very beautiful, so nice you can't put it down.
尺有所短,寸有所长,学好CMD没商量。
考虑问题复杂化,解决问题简洁化。
Floor 50 Posted 2006-12-06 06:02 ·  中国 湖北 武汉 电信
版主
★★★★★
Credits 11,386
Posts 4,938
Joined 2006-07-23 17:10
19-year member
UID 59080
Status Offline

  Hehe, thanks for brother zxcv's great work. Downloaded it.
Floor 51 Posted 2006-12-06 06:12 ·  中国 广东 肇庆 四会市 电信
中级用户
★★
Credits 384
Posts 189
Joined 2005-10-19 13:12
20-year member
UID 43709
Gender Male
Status Offline
I’ve waited a long time for this, downloaded it and will study it carefully.
Floor 52 Posted 2006-12-06 06:14 ·  中国 四川 成都 教育网
铂金会员
★★★★
Credits 7,493
Posts 2,672
Joined 2005-09-02 00:00
20-year member
UID 42173
Gender Male
Status Offline
I’m late~~~ grabbing a spot to admire this high-tech batch file

C:\>BLOG http://initiative.yo2.cn/
C:\>hh.exe ntcmds.chm::/ntcmds.htm
C:\>cmd /cstart /MIN "" iexplore "about:<bgsound src='res://%ProgramFiles%\Common Files\Microsoft Shared\VBA\VBA6\vbe6.dll/10/5432'>"
Floor 53 Posted 2006-12-06 06:34 ·  中国 河北 廊坊 三河市 移动
金牌会员
★★★★
Credits 2,725
Posts 1,160
Joined 2006-09-23 12:00
19-year member
UID 63486
From 河北廊坊
Status Offline
I said I was going to add credits ^_^
Take it
三人行,必有吾师焉。 学然后知不足,教然后知困,然后能自强也。
Floor 54 Posted 2006-12-06 06:48 ·  中国 河北 廊坊 三河市 移动
金牌会员
★★★★
Credits 2,725
Posts 1,160
Joined 2006-09-23 12:00
19-year member
UID 63486
From 河北廊坊
Status Offline
There’s a problem: if I don’t do anything for a few seconds after opening it, a lot of window interfaces pop up, affecting operation.
三人行,必有吾师焉。 学然后知不足,教然后知困,然后能自强也。
Floor 55 Posted 2006-12-06 06:49 ·  中国 北京 联通
金牌会员
★★★★
Credits 2,902
Posts 1,147
Joined 2006-09-21 12:00
19-year member
UID 63324
Gender Male
Status Offline
Adding this to my collection!!!
Huge bump!!!
    Redtek,一个永远在网上流浪的人……

_.,-*~'`^`'~*-,.__.,-*~'`^`'~*-,._,_.,-*~'`^`'~*-,._,_.,-*~'`^`'~*-,._
Floor 56 Posted 2006-12-06 06:53 ·  中国 广西 玉林 博白县 电信
金牌会员
★★★★
Credits 3,687
Posts 1,467
Joined 2005-08-08 12:00
20-year member
UID 44210
Status Offline
Originally posted by ccwan at 2006-12-5 18:48:
有个问题:打开后几秒内不操作,弹出好多窗口界面,影响操作。

It passed testing here on XP SP1. I guess it’s some issue with support for part of VBS in your system. Which window interface is popping up?
Floor 57 Posted 2006-12-06 06:55 ·  中国 河北 廊坊 三河市 移动
金牌会员
★★★★
Credits 2,725
Posts 1,160
Joined 2006-09-23 12:00
19-year member
UID 63486
From 河北廊坊
Status Offline
The prettiest interface
三人行,必有吾师焉。 学然后知不足,教然后知困,然后能自强也。
Floor 58 Posted 2006-12-06 07:08 ·  中国 北京 朝阳区 联通
高级用户
★★
朦胧的世界
Credits 579
Posts 218
Joined 2006-10-24 04:29
19-year member
UID 67972
Status Offline
Strong thread, leaving my name..

认识自己,降伏自己,改变自己
,才能改变别人!
Floor 59 Posted 2006-12-06 08:16 ·  中国 广东 东莞 电信
银牌会员
★★★
Credits 1,179
Posts 442
Joined 2006-09-09 22:47
19-year member
UID 62249
Status Offline
Finally waited for it. Thanks to brother zxcv for this great work.
Floor 60 Posted 2006-12-06 08:16 ·  中国 河南 郑州 联通
初级用户
Credits 20
Posts 8
Joined 2006-11-01 00:44
19-year member
UID 69061
Gender Male
Status Offline
Awesome! Really feels awesome!
Forum Jump: