Advertisement
Guest User

Untitled

a guest
Jul 23rd, 2019
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.90 KB | None | 0 0
  1. #IfWinnotActive, ahk_class TElWind ; TElWind is the "class". Idk if other SM versions also have the same class name. I don't even know what a class is tbh.
  2. !x::
  3. send, ^c ; copies your selected texxt
  4. sleep, 100
  5. if extracts
  6. extracts =%extracts%`n`n%clipboard% ; puts the stuff it copied in a variable, plus the extracts already in the variable
  7. else
  8. extracts = %clipboard%
  9. send, {up}
  10. return
  11.  
  12. !r::
  13. extracts = ; resets
  14. return
  15.  
  16. !c::
  17. msgbox, %extracts% ; shows content, except for images
  18. return
  19.  
  20. >^s::
  21. FileAppend,%extracts%, extracts.txt ; Creates a file where the script is located
  22. msgbox ,,, extracts saved to %A_WorkingDir%, 2.5
  23. return
  24.  
  25. #IfWinActive, ahk_class TElWind
  26. >^v::
  27. clipboard = %extracts% ; here it puts the extracts from the variable into the clipboard and paste it. using the send command is too slow
  28. sleep, 100
  29. send, ^v
  30. return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement