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

news/2024/4/19 0:12:48

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游戏】可以实现双人对战游戏,类似拳皇可以选英雄的 绝对好玩 | 附带源码

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

django和flask以WSGI的形式部署在windows

waitress安装和使用过程 1、下载 pip install waitress2、使用 waitress可以平替uwsgi和gunicorn,在django项目的根目录创建run.py(文件名随意),内容如下: 2.1、django下配置 from waitress import serve from app…

AI绘画StableDiffusion实操教程:冰霜旗袍美女

飞书原文链接,获取更多资源:AI绘画StableDiffusion实操教程:冰霜旗袍美女 前几天分享了StableDiffusion的入门到精通教程:AI绘画:Stable Diffusion 终极炼丹宝典:从入门到精通 但是还有人就问&#xff1a…

计算机安全模式无法启动修复,教你如何在安全模式下修复电脑故障

1、安全模式下的病毒查杀 对于那些在Windows下进行杀毒清除不了的病毒。可以启动安全模式,把病毒彻底清除了。 2、安全模式下还原系统 如果电脑无法正常进入系统,此时可以考虑进入安全模式,进入安全模式之后,点击“开始”“所有程…

计算机网安全模式,电脑安全模式有什么用?

经常使用电脑的朋友,有点电脑基础的小伙伴对安全模式几个字都不会陌生,安全模式是windows操作系统中一种特殊模式。但有很多小伙伴不知道电脑安全模式有什么用,由小编来告诉你们吧! 在安全模式下用户可以轻松地修复系统的一些错误,比如升级电脑驱动导致的蓝屏就可以在安全…

计算机进入安全模式的原因,教你进入电脑的安全模式

如果我们的电脑出现故障,我们最常见的方法就是进入电脑安全模式进行修复,说到电脑安全模式还有很多小伙伴不知道是什么东西,下面小编给您详细讲解下电脑安全模式以及进入电脑安全模式的操作流程。 系统出现故障无法进入的时候怎么办呢&#x…

win10计算机安全模式怎么,Win10笔记本电脑如何简单进入安全模式

我们有时候使用笔记本电脑时需要进入安全模式进行查毒什么的,那么Win10笔记本电脑如何进入安全模式呢,通常都是通过设置那里进入安全模式,十分复杂,下面就由学习啦小编跟大家分享简单的方法吧,希望对大家有所帮助~ Win…

如何启用计算机安全模式,如何使电脑进入安全模式

有时候临时有事情要离开电脑旁边,但是正在进行的工作不能让别人看到,这时候关机也会很不方便,甚至有时候电脑不安全很容易进入病毒。那么下面我们就来看看怎么样进入电脑的安全模式,让你的电脑安全一点吧。 方法一 01当你在启动计…

[IOI2019] 天桥

这是一道很好的由部分分推正解的题目。 首先前两档部分分就直接暴力找到所有的交点,然后跑dijkstra就行。这个启示我们要尝试减少交点的个数达到O(n)级别,然后连边跑dijkstra。(大致的思路是,找点->连边->跑最短路&#xf…

MATLAB 常用函数小结

文章目录 【 生成 】随机数零或一其他 【 提取 】【 统计 】【 算法 】【 文件 】 【 生成 】 随机数 rand() rand(a,b) 生成区间 (0,1) 内均匀分布的随机数字组成的 axb 列矩阵。 均值0.5,方差1/120.08333。k*rand(a,b) 生成区间 (0,k) 内服从均匀分布的随机数字组…

聊天频道

聊天频道是社交类游戏一个很常见的功能,包括帮会聊天,世界聊天,队伍聊天等。聊天消息在场景上触发,然后消息会发到功能服,之所以发到功能服,是因为帮会,组队等社交关系都是在功能服上处理的&…

梦想世界2014年5月29日服务器维护公告,梦想世界_网络游戏专区_腾讯游戏频道

科技“帮派比赛”发明后,该服务器内即可进行帮战。 帮战每周进行1次,从周一开始,持续到周三结束,共计3天;参加帮战不需要在收益时间内;有任务在身(部分特殊任务除外)的玩家,不允许参加帮战。 帮…

游戏视频

最近在上一门《游戏设计》的课程,看了一些玩家制作的视频,发现游戏中也有许多让人很动容的地方!!!