Guest User

Untitled

a guest
Oct 17th, 2017
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.28 KB | None | 0 0
  1. ;Grab unique window ID's
  2. WinGet, WowWinId, List, World of Warcraft
  3.  
  4. ClonesPush(strKeys)
  5. {
  6. global WowWinId1
  7. global WowWinId2
  8. IfWinNotActive, ahk_id %WowWinId1%
  9. ControlSend, , %strKeys%, ahk_id %WowWinId1%
  10. IfWinNotActive, ahk_id %WowWinId2%
  11. ControlSend, , %strKeys%, ahk_id %WowWinId2%
  12. }
  13.  
  14. ; permet de désactiver la duplication quand tu parle
  15. ~Enter::Suspend, Toggle
  16.  
  17. ; *** saut ***
  18. ~Space::ClonesPush("{Space down}{Space up}")
  19. ; *** échap ***
  20. ~Escape::ClonesPush("{Escape down}{Escape up}")
  21.  
  22. ; *** Barre principale 1-7 ***
  23. ~&::ClonesPush("{& down}{& up}")
  24. ~é::ClonesPush("{é down}{é up}")
  25. ;~"::ClonesPush("{" down}{" up}")
  26. ~'::ClonesPush("{' down}{' up}")
  27. ~(::ClonesPush("{( down}{( up}")
  28. ~-::ClonesPush("{- down}{- up}")
  29. ~è::ClonesPush("{è down}{è up}")
  30.  
  31. ; *** F1 -> F6 ***
  32. ~F1::ClonesPush("{F1 down}{F1 up}")
  33. ~F2::ClonesPush("{F2 down}{F2 up}")
  34. ~F3::ClonesPush("{F3 down}{F3 up}")
  35. ~F4::ClonesPush("{F4 down}{F4 up}")
  36. ~F5::ClonesPush("{F5 down}{F5 up}")
  37. ~F6::ClonesPush("{F6 down}{F6 up}")
  38.  
  39. ; *** Raccourcis de lettres ***
  40. ~a::ClonesPush("{a down}{a up}")
  41. ~z::ClonesPush("{z down}{z up}")
  42. ~e::ClonesPush("{e down}{e up}")
  43. ~d::ClonesPush("{d down}{d up}")
  44. ~t::ClonesPush("{t down}{t up}")
  45. ~c::ClonesPush("{c down}{c up}")
  46. ~v::ClonesPush("{v down}{v up}")
Add Comment
Please, Sign In to add comment