SHARE
TWEET

3 field copy paste.ahk

OldVamp Aug 15th, 2018 7 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ; alt c copy 3 text fields
  2. !c::
  3. f1 := ""
  4. f2 := ""
  5. f3 := ""
  6. clipboard =
  7. Send, {CTRLDOWN}ac{CTRLUP}
  8. ClipWait
  9. f1 := clipboard
  10. send, {TAB}
  11. clipboard =
  12. Send, {CTRLDOWN}ac{CTRLUP}
  13. ClipWait
  14. f2 := clipboard
  15. send, {TAB}
  16. clipboard =
  17. Send, {CTRLDOWN}ac{CTRLUP}
  18. ClipWait
  19. f3 := clipboard
  20. clipboard = %f1%%A_Tab%%f2%%A_Tab%%f3%
  21. return
  22.  
  23. ; alt v send the 3 fields
  24. !v::
  25. text := clipboard
  26. StringSplit,ColorArray,text,%A_Tab%
  27. Send, {CTRLDOWN}a{CTRLUP}
  28. Send, %ColorArray1%
  29. send, {TAB}
  30. Send, {CTRLDOWN}a{CTRLUP}
  31. Send, %ColorArray2%
  32. send, {TAB}
  33. Send, {CTRLDOWN}a{CTRLUP}
  34. Send, %ColorArray3%
  35. Send, {Enter}
  36. return
  37.  
  38. ; + shift
  39. ; ^ control
  40. ; ! alt
  41. ; # win
  42. ; < left <!
  43. ; > right >#
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top