Code: Select all
!q::^c
Moderators: tmplinshi, arcticir
Code: Select all
$!q::
clipboard=
send ^c
ClipWait, 2
clpc :=SubStr(clipboard,1,30)
ToolTip, Copy %clpc%
sleep,1000
ToolTip
return
Code: Select all
KeyWait Alt
Send ^c
Code: Select all
SendCtrlC() {
; 如果没开启大写则开启
if !state := GetKeyState("Capslock", "T") {
SetCapsLockState, On
}
Send ^c
; 如果复制前是小写,则恢复小写
if !state {
SetCapsLockState, Off
}
}
Code: Select all
#IfWinActive, ahk_class IEFrame
!q::
KeyWait Alt
Send ^c
return
#IfWinActive
Users browsing this forum: No registered users and 35 guests