Advertisement
tabnation

intro 4

Feb 24th, 2021
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.56 KB | None | 0 0
  1. mystring= Hey there! Lets get pizza! ok! broman!
  2. StringSplit, word_array, mystring, .,
  3. Msgbox, %word_array0% --- %word_array4%
  4. Return
  5.  
  6. f8::
  7. loop{
  8. GetKeyState, state, f8
  9. if (state = "D")
  10. {
  11. Send {f9 down}
  12. }
  13. Else
  14. {
  15. Send {f9 up}
  16. break
  17. }}
  18. Msgbox, f9 up and loop broken
  19. Return
  20.  
  21. f1::
  22. Clipboard := "" ; Must be blank for detection to work.
  23. Send ^c
  24. ClipWait 2
  25. if ErrorLevel
  26. return
  27. Sort Clipboard
  28. MsgBox Ready to be pasted:`n%Clipboard%
  29. Send ^v
  30. return
  31.  
  32. Send {d down}
  33. send {w down}
  34. sleep 2000
  35. Send {d up}
  36. Send {w up}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement