创意不大,脑洞拉满
单独按侧键1与2分别等同于Ctrl+v与Ctrl+c
而组合键的功能是:
- 【侧键2+Tab】复制并收集进表格并换列
- 【侧键2+回车】复制并收集进表格并换行
- 【侧键2+c】打开所收集的剪贴板表格并复制
默认在桌面上创建一个Clipper.csv来存储剪贴板,可以修改成其他的路径
Xbutton1::^v
XButton2::^c
XButton2 & Enter::
SendInput, ^c
Sleep,100
FileAppend, `"%clipboard%`"`n, %A_Desktop%\Clipper.csv, UTF-8
Return
XButton2 & Tab::
SendInput, ^c
Sleep,100
FileAppend, `"%clipboard%`"`,, %A_Desktop%\Clipper.csv, UTF-8
Return
Xbutton2 & c::
Run, %A_Desktop%\Clipper.csv
WinWaitActive, ahk_exe EXCEL.EXE
Sleep, 500
SendInput, {Ctrl Down}*c{Ctrl Up}
Return