![]() |
China DOS Union-- Unite DOS · Advance DOS · Grow DOS --Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum |
| Guest | Log in | Register | Members | Search | China DOS Union |
|
中国DOS联盟论坛 The time now is 2026-08-30 14:12 |
47,816 topics / 349,917 posts / today 0 new / 48,265 members |
| DOS批处理 & 脚本技术(批处理室) » [Discussion] Wonderful Chinese in VBS... |
| Printable Version 5,457 / 19 |
| Floor1 slore | Posted 2008-05-14 18:58 |
| 铂金会员 Posts 2,478 Credits 5,212 | |
|
Set WshShell = wscript.CreateObject("WScript.Shell"
![]() MsgBox "Open calculator",,"Magic Chinese" WshShell.Sendkeys "Pin" MsgBox "Open Qianqian Jingting",,"Magic Chinese" WshShell.Sendkeys "Pin" MsgBox "Open My Computer",,"Magic Chinese" WshShell.Sendkeys "Du" Set WshShell = Nothing Pin is OUTLOOK Hope everyone finds more... Best if someone can figure out the principle... ![]() |
|
| Floor2 slore | Posted 2008-05-14 19:01 |
| 铂金会员 Posts 2,478 Credits 5,212 | |
|
There are tests...
Frequency It seems to be of the media type... Without Qianqian opened real... I don't know what will happen without real... |
|
| Floor3 slore | Posted 2008-05-14 19:08 |
| 铂金会员 Posts 2,478 Credits 5,212 | |
|
Who says VBS's SENDKEYS doesn't support Chinese? It's just that the function... is too... magical...
Both "法" and "品" can open the calculator. Let's study it... While looking at the encoding... |
|
| Floor4 slore | Posted 2008-05-14 19:14 |
| 铂金会员 Posts 2,478 Credits 5,212 | |
|
Well, there's a bit of progress... Sure enough...
SENDKEYS doesn't support Chinese because Chinese uses 2 bytes to represent a character. According to "法" and "品" both can open the calculator, so I checked their encodings, and they both have a byte of B7. Then I tested the character "狈" which has the B7 encoding, and sure enough, it can open the calculator! The other ones are not difficult to figure out, but why these encodings open the corresponding programs is another question. Continue to explore... |
|
| Floor5 slore | Posted 2008-05-14 19:18 |
| 铂金会员 Posts 2,478 Credits 5,212 | |
|
Tested, the guess about "贩" is confirmed!
"贩" is stored in memory as: B7, B7 So after we run it, 2 calculators will be displayed! The one containing the B6 byte will open My Computer. It seems related to BX, I'll continue testing... |
|
| Floor6 slore | Posted 2008-05-14 19:20 |
| 铂金会员 Posts 2,478 Credits 5,212 | |
|
B5 is a player... The ones known are indeed all containing the character B... Then I'll take a guess at what else there is.
|
|
| Floor7 slore | Posted 2008-05-14 19:22 |
| 铂金会员 Posts 2,478 Credits 5,212 | |
|
"Blow" is B4, B5...
So... you will open 2 things oh~~ Run it yourself to see what B4 is... |
|
| Floor8 slore | Posted 2008-05-14 19:29 |
| 铂金会员 Posts 2,478 Credits 5,212 | |
|
It feels like SCANCODE...
There are some keys on the multimedia keyboard, like open homepage, volume, my computer... Estimated to be them~ Need to eat, put it aside first. Feels like it should be correct. The other B ones don't respond when used... Does the multimedia keyboard have my computer, email, media, homepage? Seems like P is assigned... Continue eating... [ Last edited by slore on 2008-5-14 at 07:37 PM ] |
|
| Floor9 joyn | Posted 2008-05-14 21:15 |
| 中级用户 Posts 105 Credits 280 From 广西 | |
|
Strong......Leave a mark....How did you find it??
|
|
| Floor10 joyn | Posted 2008-05-14 21:21 |
| 中级用户 Posts 105 Credits 280 From 广西 | |
|
WshShell.Sendkeys "频"
|
|
| Floor11 knoppix7 | Posted 2008-05-14 23:02 |
| 银牌会员 Posts 634 Credits 1,287 From cmd.exe | |
|
Some information found.
It may not match due to encoding issues. Windows Multimedia Scan Codes: TYPE 2: Key Make Code Break Code Next Track E0, 19 E0, 99 Previous Track E0, 10 E0, 90 Stop E0, 24 E0, A4 Play/Pause E0, 22 E0, A2 Mute E0, 20 E0, A0 Volume Up E0, 30 E0, B0 Volume Down E0, 2E E0, AE Media Select E0, 6D E0, ED E-Mail E0, 6C E0, EC Calculator E0, 21 E0, A1 My Computer E0, 6B E0, EB WWW Search E0, 65 E0, E5 WWW Home E0, 32 E0, B2 WWW Back E0, 6A E0, EA WWW Forward E0, 69 E0, E9 WWW Stop E0, 68 E0, E8 WWW Refresh E0, 67 E0, E7 WWW Favorites E0, 66 E0, E6 TYPE 1: Key Make Code Break Code Next Track E0, 4D E0, F0, 4D Previous Track E0, 15 E0, F0, 15 Stop E0, 3B E0, F0, 3B Play/Pause E0, 34 E0, F0, 34 Mute E0, 23 E0, F0, 23 Volume Up E0, 32 E0, F0, 32 Volume Down E0, 21 E0, F0, 21 Media Select E0, 50 E0, F0, 50 E-Mail E0, 48 E0, F0, 48 Calculator E0, 2B E0, F0, 2B My Computer E0, 40 E0, F0, 40 WWW Search E0, 10 E0, F0, 10 WWW Home E0, 3A E0, F0, 3A WWW Back E0, 38 E0, F0, 38 WWW Forward E0, 30 E0, F0, 30 WWW Stop E0, 28 E0, F0, 28 WWW Refresh E0, 20 E0, F0, 20 WWW Favorites E0, 18 E0, F0, 18 |
|
| Floor12 slore | Posted 2008-05-15 01:01 |
| 铂金会员 Posts 2,478 Credits 5,212 | |
|
Indeed, it is the function of a multimedia keyboard... The following are the tested functions.
Set WshShell = Wscript.CreateObject("Wscript.Shell") 'Demonstration character, 梅: C3B7, which contains the B7 byte and will open the calculator WshShell.Sendkeys "梅" 'Function description: 'WshShell.Sendkeys "源" 'B4 OUTLOOK 'WshShell.Sendkeys "恋" 'B5 media player 'WshShell.Sendkeys "硕" 'B6 My Computer 'WshShell.Sendkeys "梅" 'B7 calculator 'WshShell.Sendkeys "血" 'AA search 'WshShell.Sendkeys "爽" 'AC IE homepage 'WshShell.Sendkeys "…" 'AD mute 'WshShell.Sendkeys "爱" 'AE decrease volume 'WshShell.Sendkeys "怜" 'AF increase volume Set WshShell = Nothing Those interested can test more characters... |
|
| Floor13 densn | Posted 2008-05-15 03:04 |
| 初级用户 Posts 14 Credits 29 | |
|
Interesting, hehe~~~
Thanks for sharing.! |
|
| Floor14 kk12369 | Posted 2008-05-17 01:15 |
| 新手上路 Posts 8 Credits 16 | |
|
Interesting haha!!!!!
|
|
| Floor15 matlan | Posted 2009-02-19 11:14 |
| 初级用户 Posts 63 Credits 87 | |
|
Strong! This can be discovered too
|
|
| 1 2 Next |
|
[ Contact the Union admin team -
中国DOS联盟 -
Standard version ] Sponsored by ifanr Inc | © 2001–2023 |