![]() |
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-12 19:44 |
47,811 topics / 349,897 posts / today 0 new / 48,256 members |
| DOS批处理 & 脚本技术(批处理室) » How can a script or batch file let a laptop switch displays with one key? |
| Printable Version 1,069 / 4 |
| Floor1 bd123456789 | Posted 2010-01-30 20:38 |
| 中级用户 Posts 216 Credits 360 | |
|
Most laptops in use now need the FN+F8/F7 key combination
to switch to a projector Is there any way for a batch file or script to achieve one-key switching, or programmatic switching? I've been thinking about it for days. I used the SENDKEYS command in scripts before, but it doesn't have the FN key.. [ Last edited by bd123456789 on 2010-2-7 at 16:40 ] |
|
| Floor2 bd123456789 | Posted 2010-02-05 11:44 |
| 中级用户 Posts 216 Credits 360 | |
|
Has anyone looked into this?
|
|
| Floor3 jobszheng5 | Posted 2010-02-05 12:47 |
| 新手上路 Posts 9 Credits 9 | |
|
Following this!
|
|
| Floor4 qinchun36 | Posted 2010-02-05 12:54 |
| 高级用户 Posts 400 Credits 609 | |
|
I found these remarks online:
The Fn key is designed differently on different kinds of laptops, so their key values are all different. http://www.qikan.com.cn/Article/dnah/dnah200820/dnah20082062.html The Fn key is handled at the BIOS level, ordinary programs can't catch it. http://topic.csdn.net/t/20060828/14/4980722.html On laptops, the FN key does not serve an input function. Like the Ctrl key, it is purely a modifier key. The key combinations formed by FN and other keys may be supported directly by the BIOS (this is how most brands do it), or they may be at the software level (for example, Sony's approach). Of course, the most common form now is a hybrid one, meaning some key combinations are directly supported by the BIOS and can be used in any environment, while some combinations require additional software support in the operating system before they take effect. http://www.360doc.com/content/06/1001/15/3032_220751.shtml [ Last edited by qinchun36 on 2010-2-5 at 12:59 ] |
|
| Floor5 bd123456789 | Posted 2010-02-07 16:38 |
| 中级用户 Posts 216 Credits 360 | |
|
Learning, learning.
Many thanks, many thanks! Looks like BIOS settings are generally needed. But for this, it depends on the computer's factory configuration. |
|
|
[ Contact the Union admin team -
中国DOS联盟 -
Standard version ] Sponsored by ifanr Inc | © 2001–2023 |