How to remap the backspace key using it's keycode

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
ToastedBear
Posts: 2
Joined: 27 Jan 2022, 05:50
Contact:

How to remap the backspace key using it's keycode

Post by ToastedBear » 27 Jan 2022, 06:07

Hi :-)

is there a way to remap the backspace key to End without using the BackSpace::End statement?

I'm asking because the layout I'm using already has a BackSpace key mapped on qwerty's B location and I'd like to keep that one intact ► BackSpace::End turns both backspace (B and classic iso backspace) into End

User avatar
boiler
Posts: 16774
Joined: 21 Dec 2014, 02:44

Re: How to remap the backspace key using it's keycode

Post by boiler » 27 Jan 2022, 08:37

You shouldn't have a problem with both remaps. The following allows both BackSpace to act as End and for B to act as BackSpace on my system:

Code: Select all

BackSpace::End
b::BackSpace

Do you have something else happening in your script?

ToastedBear
Posts: 2
Joined: 27 Jan 2022, 05:50
Contact:

Re: How to remap the backspace key using it's keycode

Post by ToastedBear » 02 Feb 2022, 06:42

Hmmm I didn't made myself clear enough: B is already a backspace, here is the layout in image attachement (I should've started by this ^^).

So I can't rely on BackSpace::End because it remaps both backspace keys ^^
Attachments
optimot.jpg
optimot.jpg (69.86 KiB) Viewed 942 times

amateur+
Posts: 655
Joined: 09 Oct 2021, 15:43

Re: How to remap the backspace key using it's keycode

Post by amateur+ » 02 Feb 2022, 08:14

I had similar problem. And it seems that it can't be solved with a help of just AHK.
Have found any drawback in my code or approach? Please, point it out. /The moderator ordered to remove the rest of the signature, I had obeyed.
And I really apologize for our russian president. Being a citizen of an aggressor country is very shameful. Personally I tried to avoid this trying to defend elections from fraud being a member of the election commission of one of the precincts but only was subjected to a hooligan attack and right before the vote count was illegally escorted from the polling station and spent the night behind bars (in jail) in a result of illegal actions of corrupt policemen.

Post Reply

Return to “Ask for Help (v1)”