ATTENTION: You are viewing a page formatted for mobile devices; to view the full web page, click HERE.

DonationCoder.com Software > Post New Requests Here

DONE: Hotkey Toggle Screen Resolution

(1/1)

dandersahn:
I would love to have something that would allow me to toggle between two (or more) screen resolution modes with a hotkey.  There are a couple programs out there (e.g. QRes) that can do this via command line and I could incorporate one into an Autohotkey script, but I would prefer to do it all in one app.  I assume that there must be some way to use Autohotkey to do this, using "DllCall" or something like that.  If anyone has any ideas as to how this can be done (or if anyone could whip up something :) ), I would appreciate it.

AbteriX:
Hello dandersahn,
welcome to the community!


If you already use AHK you could add this piece of code into your AutoHotkey.ini
or use this as stand alone script:

qres.ahk
^!1:: Run qres.exe /x:640 ; Ctrl+Shift+1 Changes resolution to 640 x 480.
^Numpad2:: Run qres.exe /x 1280 /y 1024 ;Ctrl+NumPad2 Changes resolution to 1280 x 1024.

--- End quote ---

The qres.exe must be in the same folder as the AHK script (or change the path in the script).


jgpaiva:
AbteriX: You should post the link for qres.

Here it is: http://www.softwarecave.nl/products.php?product=qres

AbteriX:
Thanks jgpaiva, he know already about QRes,...but for all others... you are right, THX!

But after re-reading hes request here are AHK-only sulutions:

Here is help about DllCall and API:
http://www.autohotkey.com/forum/viewtopic.php?t=8355

Here is a simpler help about oben control panel and press here and there:
http://www.autohotkey.com/forum/topic8345.html

Navigation

[0] Message Index

Go to full version