Need script AHK

    Publicités

Users Who Are Viewing This Thread (Total: 1, Members: 0, Guests: 1)

arestony

Membre
Apr 22, 2018
69
10
319
Salut, j'aimerais trouvé/avoir un script.
Sur Arma 3 quand je souhaite récolté il me faut appuyé en boucle sur la touche Windows, j'aimerais avoir un script ou sois il faudrait appuyé maintenir la touche Windows et il récolte automatiquement, ou quand j'appuie sur un bind il récolte automatiquement. Merci de vos aides!​
 

TheHardButcher

Programmeur C/C++
V
Dec 14, 2009
1,461
58
964
France
Que dois tu faire pour "récolter" ? Juste appuyer toutes les x millisecondes sur la touche Windows ?

Tu peux donner ton skype / discord ou autre moyen de te contacter en directe ?
 

TheHardButcher

Programmeur C/C++
V
Dec 14, 2009
1,461
58
964
France
Code:
Global $active = False

HotKeySet("^k", "changeStatus")
HotKeySet("^q", "quit")


Func changeStatus()
   If $active = True Then
      $active = False
   Else
      $active = True
   EndIf
EndFunc

Func quit()
   Exit
EndFunc

While True
   If $active Then
      Send("{LWIN}")
   EndIf
   Sleep(1000)
WEnd
 
  • Like
Reactions: J43NROUL1, • CrG • and Evaelis