Is there anyway to remap an "Enter" key using Ctrl, Alt, Fn or Windows key?

T60/T61 series specific matters only
Post Reply
Message
Author
fefrie
Junior Member
Junior Member
Posts: 435
Joined: Wed Jan 24, 2007 3:29 am
Location: Vancouver, Canada

Is there anyway to remap an "Enter" key using Ctrl, Alt, Fn or Windows key?

#1 Post by fefrie » Wed Nov 16, 2016 3:32 pm

A lot of stuff that I do requires that I click on 'yes' for 'are you sure you want to'.

Normally on the keyboard I can press enter and get it done. But that requires that I take my hand off the mouse to press the enter key.

Is there any way to use a Ctrl+ or Fn+ or Alt+ or Windows Key+ to enable that functionality for the left hand?
IBM Thinkpad T23 1.13 2647-9LU 640MB Ram 40GB hard drive SOLD!
T42 SXGA 1.7 64mb xp

Johan
Moderator1
Moderator1
Posts: 1977
Joined: Mon Mar 07, 2005 2:00 pm
Location: Copenhagen, Denmark

Re: Is there anyway to remap an "Enter" key using Ctrl, Alt, Fn or Windows key?

#2 Post by Johan » Wed Nov 16, 2016 5:39 pm

I'm not sure, but have a look in the thread Keyboard utilities pointing to Keyboard Customizer Utility for Windows Vista.

Alternatively, Google this forum for "Keyboard Customizer T60 site:forum.thinkpads.com" or "remap key site:forum.thinkpads.com"

Johan
IBM T42p's (2373-Q1U & -Q2U): 2.1 GHz, 15" UXGA FlexView, 2 GB RAM, 128 MB FireGL T2, 128 GB 1.8" SATA SSD, IBM a/b/g, BT, Win 7 Ultimate
IBM T42 (2373-N1G): 1.8 GHz, 15" SXGA+ FlexView, 2 GB RAM, 64 MB Radeon 9600, 64 GB 1.8" SATA SSD, IBM a/b/g, BT, Win 7 Ultimate

Sweater Fish Deluxe
Posts: 36
Joined: Wed Jun 17, 2009 9:22 pm
Location: Ukiah, CA

Re: Is there anyway to remap an "Enter" key using Ctrl, Alt, Fn or Windows key?

#3 Post by Sweater Fish Deluxe » Wed Nov 16, 2016 6:59 pm

AutoHotkey is another option. It has a complex scripting ability that can be used to do just about anything if you understand the scripting language or find an existing script. Remapping keys is really easy, though.

After installing AutoHotkey, put a .ahk script file in your Startup folder with:

Code: Select all

LWin::Enter
that will totally replace the left Win key, but you can also set it up as a combo like:

Code: Select all

+LWin::Enter
which will treat shift+leftwin as enter. The full set of identifiers for keys is on the AutoHotkey page.

Also, you can hide the AHK tray icon by adding #NoTrayIcon to the beginning of your script.

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

Re: Is there anyway to remap an "Enter" key using Ctrl, Alt, Fn or Windows key?

#4 Post by rkawakami » Wed Nov 16, 2016 7:29 pm

You can use the free AutoHotKey utility to do something like this. You can edit the default script file where you store keymapping sequences with the following:
^!z::
Send {Enter}
return
An ENTER keystroke will be sent when the CTRL (^), ALT (!) and Z keys are pressed simultaneously. Note that you can customize this key sequence to whatever you want. By default, when AutoHotKey is running, the key sequence remapping it will take precedence over whatever program would normally use (or expect to use) that key sequence. There is a way to control this behavior by using the IfWinActive command; you must supply the Window name where you want the remapping to only take effect. You can specify the Windows Key by using the # symbol, or a Shift key with the + symbol.

ref: http://ahkscript.org/

An alternate method might be to use a "gaming" mouse. They typically have several extra buttons which can be customized to whatever event you want to generate.
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.

fefrie
Junior Member
Junior Member
Posts: 435
Joined: Wed Jan 24, 2007 3:29 am
Location: Vancouver, Canada

Re: Is there anyway to remap an "Enter" key using Ctrl, Alt, Fn or Windows key?

#5 Post by fefrie » Thu Nov 17, 2016 1:14 am

Thanks everyone. I think that Left shift and left windows combination will be the best since shift is an easily found key by touch, and it with left windows is a 'dead' combination that isn't used by anything.

Edit: Darn.

Download links are dead.
IBM Thinkpad T23 1.13 2647-9LU 640MB Ram 40GB hard drive SOLD!
T42 SXGA 1.7 64mb xp

dr_st
Senior ThinkPadder
Senior ThinkPadder
Posts: 6648
Joined: Sat Oct 29, 2005 6:20 am

Re: Is there anyway to remap an "Enter" key using Ctrl, Alt, Fn or Windows key?

#6 Post by dr_st » Thu Nov 17, 2016 1:56 am

Wow, I thought I've seen every weird question, but I guess I didn't. :)

Reminds me of this: http://xkcd.com/1172/

In any case, AutoHotkey indeed should help you. I've used it in the past for something similar.
Current: X220 4291-4BG, T410 2537-R46, T60 1952-F76, T60 2007-QPG, T42 2373-F7G
Collectibles: T430s (IPS FHD + Classic Keyboard), X32 (IPS Screen)
Retired: X61 7673-V2V, A31p w/ Ultrabay Numpad
Past: Z61t 9440-A23, T60 2623-D3U, X32 2884-M5U

fefrie
Junior Member
Junior Member
Posts: 435
Joined: Wed Jan 24, 2007 3:29 am
Location: Vancouver, Canada

Re: Is there anyway to remap an "Enter" key using Ctrl, Alt, Fn or Windows key?

#7 Post by fefrie » Thu Nov 17, 2016 2:07 am

dr_st wrote:Wow, I thought I've seen every weird question, but I guess I didn't. :)

Reminds me of this: http://xkcd.com/1172/

In any case, AutoHotkey indeed should help you. I've used it in the past for something similar.
I download a lot of files at the same time, and each little file, I have to press enter twice to 'yes save' and 'save location'

Do that 20 times and you start to wish for a faster way to do things.

That being said, the autohotkeywebsite doesn't seem to work for me.
IBM Thinkpad T23 1.13 2647-9LU 640MB Ram 40GB hard drive SOLD!
T42 SXGA 1.7 64mb xp

evening_hunger
Sophomore Member
Posts: 189
Joined: Thu Nov 26, 2015 2:55 pm
Location: Rouen, France

Re: Is there anyway to remap an "Enter" key using Ctrl, Alt, Fn or Windows key?

#8 Post by evening_hunger » Thu Nov 17, 2016 7:35 am

Well, the question isn't strange because you give improbable scenario - that's not the case. It's rather because Thinkpads have Trackpoints...
x220/i7-2620M/8GB/256gb.ssd/ips/debian (main driver)
x230/i5/8GB/500gb.hdd+256gb.m2ssd/tn/debian+win7 (better half)

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

Re: Is there anyway to remap an "Enter" key using Ctrl, Alt, Fn or Windows key?

#9 Post by RealBlackStuff » Thu Nov 17, 2016 7:44 am

If you use Firefox or PaleMoon, install the add-on DownThemAll: http://www.downthemall.net/
One click will do it.
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:

Re: Is there anyway to remap an "Enter" key using Ctrl, Alt, Fn or Windows key?

#10 Post by rkawakami » Thu Nov 17, 2016 1:49 pm

Just checked the download button right now... it seems to be working although it might require that you have Javascript enabled. When you click on the Download button, it should alter the page so that "Installer" and "Other versions" buttons appear below it. Click the Installer button and that should get you the executable installer. If not, then this is the direct link: http://ahkscript.org/download/ahk-install.exe
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.

dr_st
Senior ThinkPadder
Senior ThinkPadder
Posts: 6648
Joined: Sat Oct 29, 2005 6:20 am

Re: Is there anyway to remap an "Enter" key using Ctrl, Alt, Fn or Windows key?

#11 Post by dr_st » Thu Nov 17, 2016 2:09 pm

fefrie wrote:I download a lot of files at the same time, and each little file, I have to press enter twice to 'yes save' and 'save location'

Do that 20 times and you start to wish for a faster way to do things.
How is it faster to use a two/three key combination instead of just pressing Enter? Yes, I understand that you usually have your left hand on the left side of the keyboard, but wouldn't it be easier to just move it to the right for this particular scenario you described?

BTW, I do every once in a while download a whole bunch of files one by one, so I do understand how one can want to speed things up. You know what I do? I use a keyboard for everything, and not the mouse.

Menu Key (substitutes for right click) --> K (save link as) --> Enter --> Enter --> Tab (next link) --> repeat

And if you really do this so often, then an add-on like RBS suggested is the real way to go to save time.
Current: X220 4291-4BG, T410 2537-R46, T60 1952-F76, T60 2007-QPG, T42 2373-F7G
Collectibles: T430s (IPS FHD + Classic Keyboard), X32 (IPS Screen)
Retired: X61 7673-V2V, A31p w/ Ultrabay Numpad
Past: Z61t 9440-A23, T60 2623-D3U, X32 2884-M5U

jaspen-meyer
Senior Member
Senior Member
Posts: 631
Joined: Wed May 19, 2010 11:21 pm
Location: Pardubice, Czech Republic
Contact:

Re: Is there anyway to remap an "Enter" key using Ctrl, Alt, Fn or Windows key?

#12 Post by jaspen-meyer » Fri Nov 18, 2016 3:07 am

http://gnuwin32.sourceforge.net/packages/wget.htm

Code: Select all

wget.exe -r -A pdf,jpg http://www.site.com/page.html
Would download all of the pdf and jpg files in www.site.com/page.html.
T420 Ivy Bridge i7 3612QM, x24 xiphmont led, x60s libreboot, led, T400 libreboot, (in progress testing Q9100)

Post Reply
  • Similar Topics
    Replies
    Views
    Last post

Return to “ThinkPad T6x Series”

Who is online

Users browsing this forum: iModFrenzy, TPFanatic and 7 guests