Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #SingleInstance force
- #Persistent
- #NoTrayIcon
- ^CapsLock::
- {
- orig_clip := A_Clipboard
- Send "^c"
- Sleep 30
- if (!InStr(A_Clipboard, "`n"))
- {
- if (!(A_Clipboard == StrUpper(A_Clipboard)))
- {
- Send StrUpper(A_Clipboard)
- }
- else
- {
- Send StrLower(A_Clipboard)
- }
- }
- A_Clipboard := orig_clip
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement