Changing Thinkpad / Access IBM / ThinkVantage button action

Performance, hardware, software, general buying and gaming discussion..
Post Reply
Message
Author
nikki605
Senior Member
Senior Member
Posts: 612
Joined: Fri Dec 08, 2006 2:39 pm
Location: Tampa, FL
Contact:

Changing Thinkpad / Access IBM / ThinkVantage button action

#1 Post by nikki605 » Wed Oct 15, 2008 8:50 am

From this thread: http://forum.thinkpads.com/viewtopic.php?t=68562
madkat wrote:thanks
downloaded and installed it - runs beautifully
but - the ThinkPad Button starts Nero... and i can't seem to find the way to change this, but i'm not giving up :)
WOW! The Thinkpad button behavior is strange. My T21 came loaded with Win98 and the Thinkpad button would start the Access IBM utility. Then, several years ago, I upgraded to WinXP Pro, loaded all the IBM utilities, but the one thing that never worked after that was the Thinkpad button. Mine does nothing when I press it, which isn't a big deal to me.

I'll be interested to know what you find out. Where is the Thinkpad button function defined? I don't know. But, how yours is starting Nero really raises my curiousity.

Let us know what you find.

Admin edit: Split this out into a thread of its own
Gary A.

lenovo: T410 (2516-CTO) | i7-620M | 8GB | 320GB 7200rpm | WXGA+ | WiFi 6300 | Bluetooth | Webcam | DVD-RW | 9 Cell | Win7 Pro x64 | Full System Specs
IBM: T21 (2647-47U) | PIII 1GHz | 512MB | 60GB 5400rpm | 3Com Mini PCI Ethernet/56K | DVD-RW | WinXP Pro SP3 | Full System Specs

madkat
Junior Member
Junior Member
Posts: 326
Joined: Wed Jun 18, 2008 1:21 am
Location: Bucharest, Romania

#2 Post by madkat » Fri Oct 17, 2008 2:02 pm

all i have managed to find out about the thinkpad button is this:

http://www.thinkwiki.org/wiki/ThinkPad_Button

and in the registry you modify the path to anything you would like the button to do

now i'll just have to find the executable file that opens "my computer" - because "C:\Windows\explorer.exe" opens the "my documents" folder :(
ex: T30, TR451, TR453, R51, R52, X40, X60, R61, T400
X200 - P8600 2.66Ghz, 3G, 250G
G50-70 - 3558U 2.4Ghz, 4G, 1T

RealBlackStuff
Admin
Admin
Posts: 17512
Joined: Mon Sep 18, 2006 5:17 am
Location: Mt. Cobb, PA USA
Contact:

#3 Post by RealBlackStuff » Fri Oct 17, 2008 6:36 pm

Lovely day for a Guinness! (The Real Black Stuff)

Check out The Boardroom for Parts, Mods and Other Services.

rkawakami
Admin
Admin
Posts: 10052
Joined: Sun Jun 04, 2006 1:26 am
Location: San Jose, CA 95120 USA
Contact:

#4 Post by rkawakami » Fri Oct 17, 2008 7:11 pm

Anybody know of a way to get the launched program to automatically have the focus? I just tried this registry edit and when I press the Thinkpad button, the program is started but does not have keyboard focus. It appears in the taskbar but if you didn't look down there you'd never know anything has happened.

edit: There's this program:

http://www.schlackman.org/programs/thinkpad.html

but I'd like to know if there's a way to do this from directly within Regedit.
Ray Kawakami
X22 X24 X31 X41 X41T X60 X60s X61 X61s X200 X200s X300 X301 Z60m Z61t Z61p 560 560Z 600 600E 600X T21 T22 T23 T41 T60p T410 T420 T520 W500 W520 R50 A21p A22p A31 A31p
NOTE: All links to PC-Doctor software hosted by me are dead. Files removed 8/28/12 by manufacturer's demand.

nikki605
Senior Member
Senior Member
Posts: 612
Joined: Fri Dec 08, 2006 2:39 pm
Location: Tampa, FL
Contact:

#5 Post by nikki605 » Fri Oct 17, 2008 8:01 pm

OK, somewhere, I got lost. Are you guys trying to edit the registry so that pressing the ThinkPad button opens Windows Explorer? Because I'm having trouble getting the registry edited correctly to do anything.

EDIT: I edited the registry. When I added this string - C:\WINDOWS\explorer.exe it worked except for the focus issue that Ray asked about. When I added this string - C:\WINDOWS\explorer.exe /n, /e, /select, C:\ nothing happened when I pressed the ThinkPad button. What am I doing wrong?
Gary A.

lenovo: T410 (2516-CTO) | i7-620M | 8GB | 320GB 7200rpm | WXGA+ | WiFi 6300 | Bluetooth | Webcam | DVD-RW | 9 Cell | Win7 Pro x64 | Full System Specs
IBM: T21 (2647-47U) | PIII 1GHz | 512MB | 60GB 5400rpm | 3Com Mini PCI Ethernet/56K | DVD-RW | WinXP Pro SP3 | Full System Specs

davidspalding
ThinkPadder
ThinkPadder
Posts: 1593
Joined: Mon Nov 14, 2005 2:39 pm
Location: Durham, NC
Contact:

#6 Post by davidspalding » Sat Oct 25, 2008 1:29 pm

rkawakami wrote:... edit: There's this program:

http://www.schlackman.org/programs/thinkpad.html

but I'd like to know if there's a way to do this from directly within Regedit.
I was about to dismiss this software as unnecessary until I read that it'll map the "blue button" to the Windows key ... VERY handy if you like combos like WIN+L (lock), WIN+E (explorer), WIN+R (run dialog, which Launchy improves upon immensely).

Gary, you might need to include the entire command in quote marks or the command is only run up to the .exe part. Or ... create a shortcut link at c:\ for this, and put the shortcut path in the registry instead.


My personal fav for the Access IBM button is "C:\Program Files\ThinkPad\Utilities\TP98.EXE".
2668-75U T43, 2GB RAM, 2nd hand NMB kybd, Dock II, spare Mini-Dock, and spare Port Replicators. Wacom BT tablet. Ultrabay 2nd HDD.
2672-KBU X32, 1.5GB RAM, 7200 rpm TravelStar HDD.

nikki605
Senior Member
Senior Member
Posts: 612
Joined: Fri Dec 08, 2006 2:39 pm
Location: Tampa, FL
Contact:

#7 Post by nikki605 » Thu Nov 06, 2008 10:56 am

I just tried putting the whole command string inside double quotes and no, it didn't work. I even tried the double back slashes as in the example, both with and without quotes and that didn't work either.
Gary A.

lenovo: T410 (2516-CTO) | i7-620M | 8GB | 320GB 7200rpm | WXGA+ | WiFi 6300 | Bluetooth | Webcam | DVD-RW | 9 Cell | Win7 Pro x64 | Full System Specs
IBM: T21 (2647-47U) | PIII 1GHz | 512MB | 60GB 5400rpm | 3Com Mini PCI Ethernet/56K | DVD-RW | WinXP Pro SP3 | Full System Specs

davidspalding
ThinkPadder
ThinkPadder
Posts: 1593
Joined: Mon Nov 14, 2005 2:39 pm
Location: Durham, NC
Contact:

#8 Post by davidspalding » Thu Nov 06, 2008 11:03 am

I later tried putting the Lock command into the key, with and without quotes, and it also failed. I also tried the path to a shortcut link that performs the function, and it didn't like that, either. Seems that only an EXE without arguments works. :(

nikki605
Senior Member
Senior Member
Posts: 612
Joined: Fri Dec 08, 2006 2:39 pm
Location: Tampa, FL
Contact:

#9 Post by nikki605 » Thu Nov 06, 2008 11:43 am

I searched the registry looking for examples and found a format that worked:

"C:\WINDOWS\explorer.exe" /n, /e, /select, C:\

However, it still has the same problem Ray pointed out - the new window doesn't have focus when it opens. You just see it blinking on the task bar. But, at least it opens Windows Explorer with all the drives displayed.
Gary A.

lenovo: T410 (2516-CTO) | i7-620M | 8GB | 320GB 7200rpm | WXGA+ | WiFi 6300 | Bluetooth | Webcam | DVD-RW | 9 Cell | Win7 Pro x64 | Full System Specs
IBM: T21 (2647-47U) | PIII 1GHz | 512MB | 60GB 5400rpm | 3Com Mini PCI Ethernet/56K | DVD-RW | WinXP Pro SP3 | Full System Specs

nikki605
Senior Member
Senior Member
Posts: 612
Joined: Fri Dec 08, 2006 2:39 pm
Location: Tampa, FL
Contact:

#10 Post by nikki605 » Fri Nov 07, 2008 6:50 pm

rkawakami wrote:Anybody know of a way to get the launched program to automatically have the focus? I just tried this registry edit and when I press the Thinkpad button, the program is started but does not have keyboard focus. It appears in the taskbar but if you didn't look down there you'd never know anything has happened.

edit: There's this program:

http://www.schlackman.org/programs/thinkpad.html

but I'd like to know if there's a way to do this from directly within Regedit.
I think I solved the focus problem, with this:

:arrow: http://support.microsoft.com/kb/886217

Since I had Tweak UI installed, I used those instructions from the KB article. I un-checked the box called "Prevent applications from stealing focus" which sounds counter-intuitive, but it seems to work. As described, it changed the ForegroundLockTimeout value from 200000 to zero (0) in the Registry entry.

I then opened IE7, Word and Excel. Next, I pressed the ThinkPad button and My Computer opened, in the foreground with focus and the C:\ drive pre-selected in the right pane.

I haven't used it long enough to know if the change causes any undesireable operating characteristics, but I'll post back if I see any.
Gary A.

lenovo: T410 (2516-CTO) | i7-620M | 8GB | 320GB 7200rpm | WXGA+ | WiFi 6300 | Bluetooth | Webcam | DVD-RW | 9 Cell | Win7 Pro x64 | Full System Specs
IBM: T21 (2647-47U) | PIII 1GHz | 512MB | 60GB 5400rpm | 3Com Mini PCI Ethernet/56K | DVD-RW | WinXP Pro SP3 | Full System Specs

rkawakami
Admin
Admin
Posts: 10052
Joined: Sun Jun 04, 2006 1:26 am
Location: San Jose, CA 95120 USA
Contact:

#11 Post by rkawakami » Fri Nov 07, 2008 8:07 pm

Gary,

On my first try with that TweakUI modification, the application I had programmed into the ThinkPad button still appeared "behind" everything else so I thought it didn't work. However, when I changed to a different program, it did work. The program in question is "Master Converter"; a neat little utility that converts measurements from one standard to another. This program appears to break some Windows programming rule as it doesn't get the focus no matter the setting of the Focus option in TweakUI. I was able to get Windows Explorer, Audacity, Network Stumbler and a couple of other programs to launch correctly (with focus) so I must attribute this to the way MC is written.

Nice find! I install TweakUI on all my systems and perform some usual changes (getting rid of the "arrow shortcut" for one) but I've never really noticed the Focus option.
Ray Kawakami
X22 X24 X31 X41 X41T X60 X60s X61 X61s X200 X200s X300 X301 Z60m Z61t Z61p 560 560Z 600 600E 600X T21 T22 T23 T41 T60p T410 T420 T520 W500 W520 R50 A21p A22p A31 A31p
NOTE: All links to PC-Doctor software hosted by me are dead. Files removed 8/28/12 by manufacturer's demand.

nikki605
Senior Member
Senior Member
Posts: 612
Joined: Fri Dec 08, 2006 2:39 pm
Location: Tampa, FL
Contact:

#12 Post by nikki605 » Fri Nov 07, 2008 8:55 pm

Yeah, I don't use Tweak UI often enough to remember all of what's in it.
Gary A.

lenovo: T410 (2516-CTO) | i7-620M | 8GB | 320GB 7200rpm | WXGA+ | WiFi 6300 | Bluetooth | Webcam | DVD-RW | 9 Cell | Win7 Pro x64 | Full System Specs
IBM: T21 (2647-47U) | PIII 1GHz | 512MB | 60GB 5400rpm | 3Com Mini PCI Ethernet/56K | DVD-RW | WinXP Pro SP3 | Full System Specs

davidspalding
ThinkPadder
ThinkPadder
Posts: 1593
Joined: Mon Nov 14, 2005 2:39 pm
Location: Durham, NC
Contact:

#13 Post by davidspalding » Fri Nov 14, 2008 5:24 pm

TweakUI rocks. Have been using it since 1995.

Post Reply
  • Similar Topics
    Replies
    Views
    Last post

Return to “Thinkpad - General HARDWARE/SOFTWARE questions”

Who is online

Users browsing this forum: No registered users and 5 guests