Changeset 1479

Show
Ignore:
Timestamp:
01/19/09 01:32:53 (4 years ago)
Author:
martin_r
Message:

Fix für Notepad++: Mod4+v wird als (BS) angezeigt, das wird mit zwei Backspaces wieder rückgängig gemacht und der eigentliche Rückschritt wird ausgeführt.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • windows/kbdneo2/Treiber/AHK_für_kbdneo2/ahk_kbdneo2.ahk

    r1452 r1479  
    1212isMod4Locked := 0 
    1313isMod4Active := 0 
    14  
    1514 
    1615 
     
    143142return  
    144143  
    145 ~l::  
    146 if (isMod4Active and !isMod3Pressed)  
    147 Sendinput {Blind}{UP}  
    148 return  
    149   
    150 ~c::  
    151 if (isMod4Active and !isMod3Pressed)  
    152 Sendinput {Blind}{DEL}  
    153 return  
    154   
    155 ~w::  
    156 if (isMod4Active and !isMod3Pressed)  
    157 Sendinput {Blind}{INS}  
    158 return  
    159   
    160 ~u::  
    161 if (isMod4Active and !isMod3Pressed)  
    162 Sendinput {Blind}{HOME}  
    163 return  
    164   
    165 ~i::  
    166 if (isMod4Active and !isMod3Pressed)  
    167 Sendinput {Blind}{LEFT}  
    168 return  
    169   
    170 ~a::  
    171 if (isMod4Active and !isMod3Pressed)  
    172 Sendinput {Blind}{DOWN}  
    173 return  
    174   
    175 ~e::  
    176 if (isMod4Active and !isMod3Pressed)  
    177 Sendinput {Blind}{RIGHT}  
    178 return  
    179   
    180 ~o::  
    181 if (isMod4Active and !isMod3Pressed)  
    182 Sendinput {Blind}{END}  
    183 return  
    184   
    185 ~�::  
    186 if (isMod4Active and !isMod3Pressed)  
    187 Sendinput {Blind}{PGDN}  
    188 return  
     144~v:: 
     145if (isMod4Active and !isMod3Pressed) 
     146Ifwinactive ahk_class Notepad++ 
     147Sendinput {Blind}{BACKSPACE}{BACKSPACE} 
     148return 
     149 
     150~l:: 
     151if (isMod4Active and !isMod3Pressed) 
     152Sendinput {Blind}{UP} 
     153return 
     154 
     155~c:: 
     156if (isMod4Active and !isMod3Pressed) 
     157Sendinput {Blind}{DEL} 
     158return 
     159 
     160~w:: 
     161if (isMod4Active and !isMod3Pressed) 
     162Sendinput {Blind}{INS} 
     163return 
     164 
     165~u:: 
     166if (isMod4Active and !isMod3Pressed) 
     167Sendinput {Blind}{HOME} 
     168return 
     169 
     170~i:: 
     171if (isMod4Active and !isMod3Pressed) 
     172Sendinput {Blind}{LEFT} 
     173return 
     174 
     175~a:: 
     176if (isMod4Active and !isMod3Pressed) 
     177Sendinput {Blind}{DOWN} 
     178return 
     179 
     180~e:: 
     181if (isMod4Active and !isMod3Pressed) 
     182Sendinput {Blind}{RIGHT} 
     183return 
     184 
     185~o:: 
     186if (isMod4Active and !isMod3Pressed) 
     187Sendinput {Blind}{END} 
     188return 
     189 
     190~�:: 
     191if (isMod4Active and !isMod3Pressed) 
     192Sendinput {Blind}{PGDN} 
     193return