Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ; Special dashes:
- dashCount := 0
- !-::
- dashCount++
- if(dashCount = 1) {
- SetTimer, WaitForAlt, -1
- }
- return
- WaitForAlt:
- KeyWait, Alt
- if(dashCount = 2) {
- ; En-dash
- Send {ASC 0150}
- } else if(dashCount = 3) {
- ; Em-dash
- Send {ASC 0151}
- }
- dashCount := 0
- return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement