Gå til innhold

Få et script til å fungere i battlefield 2


Anbefalte innlegg

Jeg prøver å få en enkel hotkey til å fungere i battlefield 2 med programmet AutoHotkey, men uten hell.

 

Koden:

 

#Persistent
#InstallKeybdHook
SetKeyDelay, 75, 75

x::
 {
    Send, z
 }
Return

 

Googlet problemet, og fant noe her:

 

Why do Hotstrings, Send, and Click have no effect in certain games?

 

Some games use DirectInput exclusively. As a side-effect, they might ignore all simulated keystrokes and mouse clicks. To work around this, try one of the following (or a combination):

 

* Use SendPlay via: 1) the SendPlay command; 2) using SendMode Play; and/or 3) the hotstring option SP.

* Increase SetKeyDelay. For example:

SetKeyDelay, 0, 50

SetKeyDelay, 0, 50, Play

* Try ControlSend, which might work in cases where the other Send modes fail.

 

 

Er det noen som vet hva som skal til for å få scriptet til å fungere i battlefield 2?

Endret av Treasure
Lenke til kommentar

Opprett en konto eller logg inn for å kommentere

Du må være et medlem for å kunne skrive en kommentar

Opprett konto

Det er enkelt å melde seg inn for å starte en ny konto!

Start en konto

Logg inn

Har du allerede en konto? Logg inn her.

Logg inn nå
×
×
  • Opprett ny...