Hi
I have yet another three autohotkey problems
Problem 1: use one key for multiple purposes.
I don't ever use the original F10 function, so I've remapped it to ^w ctrl-w on one of my keyboards.
In the meantime I've gotten rid of tilde and ` since I rarely use them. (Remapped that key to something else) But once in a blue moon, maybe every few months, I find the need to use them.
So I'd like to use the F10 key for ~ ` also. I figured I could make alt and shift trigger layers for them.
My code doesn't work. Sc044 is the scancode for f10:
sc044::^w
!sc044::
Send {`}
Return
+sc044::~
Problem 2:
How to use a key combination and still retain the original key functions when key is pressed alone.
On another keyboard (this a buckling spring), I've been struggling to use the tilde key to trigger layers. but I want to use the tilde key alone also. I've read the fairly voluminous info at ahk's forum, but still don't get it. They say if I remap tilde to tilde, it will trigger when the key is released and no other key is pressed, but I haven't been able to do it.
`::Send {`}
return
` & 1::
CoordMode, Mouse, Screen
MouseClick, Left, 2, 700
CoordMode, Mouse, Relative
Return
I can get the mouse to move when I press tilde and 1. But when I press tilde alone, I don't get tilde.
Problem 3:
Am having difficulty remapping a key to work reliably and predictably as a windows key. Since I like to use a 122-key terminal, I generally want to remap one of the ten keys on the left side as a windows key. I keep finding problems, so if anyone has suggestions I'll be glad to hear them.
I tried different variants and didn't work. Now I must consult the geekhackforumpedia aka everybody's brains!
last but not least: SPECIAL THANKS TO DORKVADER FOR GIVING ME RELEGENDABLES! WITHOUT THESE GUYS I WON'T BE ABLE TO REMEMBER ALL THE MANY MACROS AND REMAPS I'M DOING WITH MY KEYBOARDS!