I want to map the following keys.
- swap win and ctrl
alt-left/alt-right to ctrl-left/ctrl-right
ctrl-left to home
ctrl-right to end
shift-ctrl-left to shift-home
shift-ctrl-right to shift-end
I also want to repeatedly press the left and right keys in the home and end cases without releasing the modifier keys. The following script does not work because the original modifier keys are still effective in the mapped keys. For example, pressing ^Left is actually ^Home.
Code: Select all
LWin::LCtrl
LCtrl::LWin
RWin::RCtrl
RCtrl::RWin
!Left::^Left
!Right::^Right
^Left::Home
^Right::End
The following script stops the original modifier being effective but pressing Left twice while holding Ctrl gives me Home then Left.
Code: Select all
LWin::LCtrl
LCtrl::LWin
RWin::RCtrl
RCtrl::RWin
!Left::^Left
!Right::^Right
^Left::Send {Home}
^Right::Send {End}
What should the script be?