I want to make an autohotkey script that does two things: 1. use QRes to change the…
- User
I want to make an autohotkey script that does two things:
- use QRes to change the resolution to 2560x1440@60hz
- When I press the right side windows key, it should input as left side alt key
- When I press left side alt key, it should input as left side windows key
It should do this as long as the program is running
- Assistant
Sure, I can help you with that.
Here's an AutoHotkey script that should do what you're asking for:
#Persistent ; set the resolution to 2560x1440@60hz using QRes RunWait, qres.exe /x:2560 /y:1440 /r:60 /xV ; map right Windows key to left Alt and left Alt key to left Windows key RWin::LAlt LAlt::LWinThis script sets itself as a persistent process (#Persistent) to keep running in the background as long as the script is running. It then uses the RunWait command to execute QRes with the desired resolution settings.
Finally, it uses the :: hotstring syntax to map the right Windows key (RWin) to the left Alt key (LAlt), and the left Alt key (LAlt) to the left Windows key (LWin).
Save this script as a .ahk file and run it using AutoHotkey. The script will continue to run in the background until you close it or exit AutoHotkey. Keep in mind that you need to have QRes installed on your machine.
Is there anything else I can assist you with?
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.
Identical first prompt
- Human-written demonstration (OpenAssistant volunteers)Compare side by side →
- Human-written demonstration (OpenAssistant volunteers)Compare side by side →
- Human-written demonstration (OpenAssistant volunteers)Compare side by side →
- Human-written demonstration (OpenAssistant volunteers)Compare side by side →
- Human-written demonstration (OpenAssistant volunteers)Compare side by side →
- Human-written demonstration (OpenAssistant volunteers)Compare side by side →
- Human-written demonstration (OpenAssistant volunteers)