OldVamp

3 field copy paste.ahk

Aug 15th, 2018
21
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

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×