Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- mystring= Hey there! Lets get pizza! ok! broman!
- StringSplit, word_array, mystring, .,
- Msgbox, %word_array0% --- %word_array4%
- Return
- f8::
- loop{
- GetKeyState, state, f8
- if (state = "D")
- {
- Send {f9 down}
- }
- Else
- {
- Send {f9 up}
- break
- }}
- Msgbox, f9 up and loop broken
- Return
- f1::
- Clipboard := "" ; Must be blank for detection to work.
- Send ^c
- ClipWait 2
- if ErrorLevel
- return
- Sort Clipboard
- MsgBox Ready to be pasted:`n%Clipboard%
- Send ^v
- return
- Send {d down}
- send {w down}
- sleep 2000
- Send {d up}
- Send {w up}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement