作者shyangs (丹丹)
看板EzHotKey
標題Re: [AHK-] 請問標準符號輸入的問題...ORZ
時間Mon Apr 26 19:27:10 2010
; 修改了 SetKeyLabel、 SendString
SetKeyLabel(key_press, key_label){
Hotkey, %key_press%, %key_label%
}
SendString(string){
Clipboard := string
SendInput, {Ctrl Down}{v}{Ctrl up}
}
SetKeyLabel("!1", "Alt1")
SetKeyLabel("!2", "Alt2")
SetKeyLabel("!3", "Alt3")
Return
Alt1:
SendString("┌")
Return
Alt2:
SendString("┬")
Return
Alt3:
SendString("┐")
Return
#P::Suspend
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 58.114.192.127
1F:推 CHCOOBOO:大感謝<(_ _)> 04/26 19:46