(轉貼) 如何重新定義Thinkvantage(AccessIBM)按鍵的功能? (NB) (ThinkPad) (OS) (Windows)

news/2025/2/18 10:05:16/

Abstract
ThinkVantage(AccessIBM)為ThinkPad特有的功能鍵,用來呼叫ThinkVantage軟體,但這些軟體都有熱鍵相對應,是否可以重新定義ThinkVantage鍵來啟動自己的應用程式呢?

Introduction
ThinkVantage(AccessIBM)有兩個功能:
1.剛開機時用來呼叫R&R。
2.進入Windows後用來呼叫ThinkVantage工具選單。

若沒用到這兩個功能,大大的ThinkVantage就浪費了,是否能自行定義呢?以下轉貼
http://forum.notebookreview.com/showthread.php?t=171644的方法,我個人是用ThinkVantage啟動我最常用的7Zip。

Solution
There is a way to make the ThinkVantage button open programs, open multiple programs, or hibernate after completing a clean install. Thanks to Bighaugs (who started the thread and was the original poster for the question) and Erik from thinkpads.com (who explained exactly what to do to run programs) and Hellbore and Cherude (who expanded on the idea to make the button control hibernate and possibly more). I’m only compiling the infomation they described in one place in case someone wants to try this and add functionality to the big blue button. I’ll try to explain Erik and Hellbore’s instructions here in case Mikeeeeee’s utility find doesn’t work or you want an alternative. You can see the original instructions posted HERE
One advantage of creating a batch file and registry key is that you are able to open multiple programs with the push of just one button. Also, If you have the 'Thinkpad Power Manager' software installed, you can use the batch file to power off the display and lock the workstation (same as Fn + F3). You can even create a batch file to make the laptop hibernate.
The blue button can be programmed to run any executable file as long as you have the ‘hotkey utility’ installed. It’s owned by the hotkey features located in the registry at: HKEY_LOCAL_MACHINE\SOFTWARE\IBM\TPHOTKEY. Follow the instructions below to set it up to open notepad – if you want to use the Thinkvantage button to open a software program or hibernate, skip down to the next set of instructions:
_____________________________________________________________________
Make The ThinkVantage Button Open Notepad
Notepad.exe is the easiest to set up to open because you don't need to create batch files. You are only creating registry key (8001) that doesn't exist anymore because you performed a clean install.
1. Open notepad (Start > Accessories > Notepad)
2. Paste the following text:
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\IBM\TPHOTKEY\8001]
"File"="C:\\Windows\\notepad.exe"
3. Save the file anywhere and name it whatever you want, but change the file extension from “.txt” to “.reg”
4. Open the .reg file you just saved and…walla, use the big blue button to open the notepad program.
_____________________________________________________________________
Make The ThinkVantage Button Open Any Program
If you want to open any .exe program, you need to create a batch file in order to make it open smoothly without error. Follow these steps to create a batch file, then create a registry entry to make the ThinkVantage button point to that program:
1.Open notepad (Start > Accessories > Notepad)
2.Paste the following text (I used the path to IE, but you can replace this with any path you want):
@echo off
cd "C:\Program Files\Internet Explorer"
start iexplore
cls
3.Name the file as “runapp.bat”
4.Save the file in the following location: C:\
*Now you need to create the registry code to point to the above batch file*
5.Open notepad (Start > Accessories > Notepad)
6.Paste the following text that points to the batch file just created:
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\IBM\TPHOTKEY\8001]
"File"="c:\\runapp.bat"
7.Save the file anywhere and name it whatever you want, but change the file extension from “.txt” to “.reg”
8.Open the .reg file you just saved and use the big blue button to open the.exe program you specified in step 2.
If you want to change the program that opens with the blue ThinkVantage button, you only need to edit the batch file and not the registry. Right click on the .bat file and select ‘edit’. Just follow the pattern by changing the path to the application you want next to ‘cd’ and make sure to add the name of the application after the word ‘start’
_____________________________________________________________________
Make The ThinkVantage Button Open Multiple Programs Simultaneously
You can make the ThinkVantage button open multiple programs at the same time. Follow the instructions above, except at step 2 use the following batch code (replacing the path for whatever programs you want to control):
@echo off
cd "C:\Program Files\Internet Explorer"
start iexplore
cd "C:\Program Files\Microsoft Office\OFFICE12"
start WINWORD
cls
You get the idea if you can follow the pattern and keep adding as many applications as you want. They will all open simultaneously.
_____________________________________________________________________
Make The thinkVantage Button Control Hibernate
(from post #27) If you want to make the ThinkVantage button put the laptop into hibernate mode, you need to create a batch file just like above. Follow these steps to create a batch file, then create a registry entry to make the ThinkVantage button point to that program:
1.Open notepad (Start > Accessories > Notepad)
2.Paste the following text:
@echo off
shutdown /h
3.Name the file as “hibernate.bat”
4.Save the file in the following location: C:\
*Now you need to create the registry code to point to the above batch file*
5.Open notepad (Start > Accessories > Notepad)
6.Paste the following text that points to the batch file just created:
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\IBM\TPHOTKEY\8001]
"File"="c:\\hibernate.bat"
7.Save the file anywhere and name it whatever you want, but change the file extension from “.txt” to “.reg”
8.Open the .reg file you just saved and use the big blue button to open the.exe program you specified in step 2
Note: These instructions are only valid for Windows Vista. Windows XP does not have the shutdown hibernate command.
_____________________________________________________________________
Make The thinkVantage Button Control Shutdown and Turn Off
(from post #30) If you want to make the ThinkVantage button put the laptop into shut down and turn off, you need to create a batch file. Follow these steps to create a batch file, then create a registry entry to make the ThinkVantage button point to that program:
1.Open notepad (Start > Accessories > Notepad)
2.Paste the following text:
@echo off
shutdown /s /t 5
Obs: t 5 means 5 seconds, the laptop will start to shut down and turn off after 5 seconds you press the ThinkVantage button. You can increase/decrease this time as you wish.
3.Name the file as “off.bat”
4.Save the file in the following location: C:\
*Now you need to create the registry code to point to the above batch file*
5.Open notepad (Start > Accessories > Notepad)
6.Paste the following text that points to the batch file just created:
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\IBM\TPHOTKEY\8001]
"File"="c:\\off.bat"
7.Save the file anywhere and name it whatever you want, but change the file extension from “.txt” to “.reg”
8.Open the .reg file you just saved and use the big blue button to open the.exe program you specified in step 2
Note: These instructions are only valid for Windows Vista. Windows XP does not have the shutdown hibernate command.
_____________________________________________________________________
If you have the 'Thinkpad Power Manager' software installed, you can also use the batch file to power off the display and lock the workstation (same as Fn + F3) by using the following code:
@echo off
cd "C:\Program Files\ThinkPad\Utilities"
start PWMOSDV
rundll32 user32.dll, LockWorkStation
cls
Keep in mind that the above only works for 32-bit Vista. If you are using 64-bit Vista OS, the path will be slightly different. For 64-bit OS, you should replace (cd "C:\Program Files\ThinkPad\Utilities") with (cd "C:\Program Files (x86)\ThinkPad\Utilities").
_____________________________________________________________________
If you want to edit the registry, you can go to Start and type “regedit” in the search field. Once there, expand the folders to find [HKEY_LOCAL_MACHINE\SOFTWARE\IBM\TPHOTKEY\8001]. Right click ‘file’ and select ‘Modify…’ From there, you can point the value data to any executable program (like Notepad) or batch file you want.
In other words, you can create a batch file to run an application and hibernate and keep them in the "C:\" location. Use the steps above to point to whatever you want the button to control by entering c:\\runapp.bat or c:\\hibernate.bat in the registry.


http://www.ppmy.cn/news/907980.html

相关文章

(原創) 如何解決ThinkVantage Power Manager『電源配置』無故消失的bug (NB) (ThinkPad) ?...

AbstractThinkVantage的Power Manager相當好用,不過有點小bug:『電源配置』有時會無故消失,並且無法新增任何電源配置,本文提出解決此bug的方法。 Introduction在網路上發現很多ThinkPad user都有這個問題,看來這是Po…

Lenovo ThinkVantage Toolbox 常见问题解答

Lenovo ThinkVantage Toolbox应用程序的目的是什么? Lenovo ThinkVantage Toolbox (LTT) 是一个旨在帮助您充分利用您的Think系统的支持性应用程序。其核心是在Think系统上运用了十多年的诊断功能及系统信息。新应用程序将这些传统工具与新的信息功能结合起来。这些…

forbidden the ThinkVantage password manager

到C盘下搜索“css_pwmgr_toggle.exe”,一般是在“C:\Program Files\Lenovo\Client Security Solution”下,双击打开css_pwmgr_toggle.exe,就可以禁用“password manager”

隐藏Lenovo ThinkVantage Toolbox

WIN7的。下面的任务栏。只右边占了十分之一。有三分之二都是被这个toolbox占据的。看着很烦。怎么隐藏掉 解决方法: 任务栏点右键->工具栏->去掉lenovo thinkvantage toolbox前的钩

ThinkVantage 按键

[编辑本段]ThinkVantage 按键   在thinkpad系列笔记本中,我们可以看到键盘的左上方,在靠近音量键的位置上,有一个很特别的深蓝色按键——ThinkVantage,如上图(x200的thinkvantage按键)。 [编辑本段]Think…

联想oracle密码,联想ThinkVantage密码管理软件使用方法步骤

联想的ThinkVantage Password Manager软件可帮助您组织和管理Web站点和应用程序登录信息,如用户名、密码和其他个人信息。 使用方法: 1.密码管理器的主界面,该界面下将显示出用户记录的相关密码条目信息。 2.创建安全标…

MySQL索引,事务与存储引擎

MySQL索引,事务与存储引擎 一、索引: 1.索引的概念: (1)数据库索引: ① 是一个排序的列表,存储着索引值和这个值所对应的物理地址。(类似于C语言的链表通过指针指向数据记录的内存地址) ② 无…

【Python游戏】可以实现双人对战游戏,类似拳皇可以选英雄的 绝对好玩 | 附带源码

前言 本游戏的类型有点像大家小时候玩过的拳皇,可以进行游戏人物的选择,相信我绝对好玩!!! 废话不多说吧,大家记得给小编点个赞哈,一键三连才是小编更新的动力!! 相关文…