Page 1 of 1

Gamerskript

Posted: 24 Aug 2021, 05:15
by GamerNiggi
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).

Re: Gamerskript

Posted: 25 Aug 2021, 01:30
by LuckyJoe
Nutzt dir das etwas: https://ahkde.github.io/docs/commands/_MenuMaskKey.htm?

Code: Select all

~LWin::Send {Blind}{vk07}
~RWin::Send {Blind}{vk07}

Re: Gamerskript

Posted: 25 Aug 2021, 02:11
by gregster
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