Gamerskript

Stelle Fragen zur Automatisierung von Spielen

Moderator: jNizM

GamerNiggi
Posts: 1
Joined: 24 Aug 2021, 05:10

Gamerskript

24 Aug 2021, 05:15

Ich habe ein Autohotkey-Skript mit folgendem Inhalt:

Code: Select all

#NoEnv  ; Recommended for performance and compatibility with future AutoHotkey releases.
; #Warn  ; Enable warnings to assist with detecting common errors.
SendMode Input  ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir%  ; Ensures a consistent starting directory.

LWin::Return
RWin::Return
Es soll verhindern, dass ich beim gamen unterbrochen werde, wenn ich versehentlich auf die Windowstaste drücke. Bis vor kurzem hat das wunderbar funktioniert. Nun funktioniert es im Vollbildmodus nicht mehr. Was kann sich geändert haben?

Edit: ein vielleicht noch hilfreicher Hinweis: ich habe für die gleiche Funktionalität noch eine Anwendung namens "WinKill v0.3" getestet. Da habe ich das gleiche Phänomen (funktioniert ansich, aber nicht im Vollbildmodus).
User avatar
LuckyJoe
Posts: 341
Joined: 02 Oct 2013, 09:52

Re: Gamerskript

25 Aug 2021, 01:30

Nutzt dir das etwas: https://ahkde.github.io/docs/commands/_MenuMaskKey.htm?

Code: Select all

~LWin::Send {Blind}{vk07}
~RWin::Send {Blind}{vk07}
Herzliche Grüße aus dem Rheinland
Lucky Joe
gregster
Posts: 9035
Joined: 30 Sep 2013, 06:48

Re: Gamerskript

25 Aug 2021, 02:11

Vollbildmodus soll häufig ein Problem bei Spielen sein. Stattdessen sollte man wohl borderless windowed mode, oder wie auch immer das heißt, verwenden.

Sagt zumindest dieses vielzitierte Topic:
How to Make AHK Work in Most Games - The Basics

Return to “Spiele”

Who is online

Users browsing this forum: No registered users and 58 guests