I have a 3200x1800 screen. For daily use, I am at 3200x1800 at %200 window size. For gaming I usually drop to 1600x900 at %100 magnification. Can I write/find some kind of an automated tool which can switch between these modes. I am fine with writing a C/C++/C# program, and/or a batch file which can also log me out automatically, because you need to log out and in, in order the settings to take effect. I am on Win10 by the way.
How to change screen resolution and the size of items using command line/programmatically/batch or macro?
9.2k Views Asked by Çağrı Uslu At
2
There are 2 best solutions below
0
Alexander Taubenkorb
On
I have developed a tool, that might can help you at least for a part:
http://tools.taubenkorb.at/change-screen-resolution/
Just call it like this
ChangeScreenResolution.exe /w=1600 /h=900
It does not change the magnification however.
To accomplish this, the program uses the C++ function ChangeDisplaySettingsEx. This might help you to get a step closer to your solution.
Related Questions in WINDOWS
- how to play a sounds in c# forms?
- Echo behaviour of Microsoft Windows Telnet Client
- Getting error while running spark-shell on my system; pyspark is running fine
- DirectX 9 With No SDK Installed - How To Translate a D3DMATRIX?
- Gradle 8.7 cannot find installed JDK 22 in IntelliJ
- 'IOException: The cloud file provider is not running', when trying to delete 'cloud' folder
- Cannot load modules/mod_dav_svn.so into server
- Issue with launching application after updating ElectronJs to version 28.0.0 on Windows and Linux
- 32-bit applications do not display some files in Windows 10
- 'bun' is not recognized as an internal or external command
- mkssecreenshotmgr taking a screenshot
- Next js installation in windows 7 os
- Can't resize a partition using Mini Tool?
- Is there any way to set a printer as default according with Active Directory Policy Security Group and PC hostname?
- Electron Printing not working on Windows (Works on Mac)
Related Questions in BATCH-FILE
- .bat file - How can I return the value of a variable whose name depends on another variable concatenated with a string in a batch file?
- Discordbot(Python) who should start bat file(Minecraft server) can't find user_jvm_args.txt file
- Set req query output to a variable
- bat file creates a "corrupt" zip
- How to list several items in the dialog box for execution?
- "if contains" with forbidden special characters
- Overlaying frame number with ffmpeg
- Batch Script-Powershell MessageBox | How do I set TopMost within PS command line of Batch?
- Batch file no longer works correctly in Windows 11
- Trying to launch batch file from powershell, and immediately closes
- How to automate an SSH login with a batch file?
- Having trouble executing my program from a jar, using Jinput
- How can I unload Visual Studio projects via batch file/developer command prompt?
- How to use goto in nested loop in .bat script window
- How can I run this Powershell function from a batch file on windows?
Related Questions in SCREEN
- Problems sharing the screen of my laptop with hdmi in Ubuntu
- Flutter rotate the screen
- How can I record the entire screen outside of my Flutter app or control a specific area for recording, including sound?
- React native app stuck on splash screen on device
- Gnu screen - how do I move focus to a region by number?
- How to achieve native functionality while using JS API with ElectronJS
- Kivy App with API Call: Loading Screen Transition and Error
- Visual Studio Code IDE splitting screen in same file (not wanted)
- VS used to point in solution explorer to a hyperlink or anything to make mapping easier
- Find out which protocol to communicate with a TFT LCD display
- How to restrict device width in flutter using screenutils?
- Mirroring portion of screen from one area to another (on a single screen)
- Javascript: Retrieve actual, meaningful size (pixels) attributes of flexbox (or any browser-based) items
- How correct save information in file python
- NvChad color issues from inside GNU Screen window
Related Questions in RESOLUTION
- Android: How to scale a bitmap to fit the screen size using canvas?
- Dynamic Resolution Fix to NuxtJS Download Page
- Can uvc-gadget can go up to 4K on a Rasperry Pi 4B?
- How can I fix @media max-width issue in html and CSS?
- Problem with Excel Userform resolution - Text and image enlargement
- How Can I Increase The Resolution Of My Icon In My GUI Window?
- Meaning of PPI (Pixel Per Inch)
- Create gif from tiff images and preserve resolution using PIL
- What is difference between screen size and pixel size?
- How can I adjust aspect ratio on Mi TV Box 2 when projecting content from the side of the room?
- How to stop a numerical resolution of a differential equation with a certain condition
- Is there a possibility to render parts of the screen at lower resolution?
- Godot physics resizing my sprites at runtime
- How to change window size at runtime using Rust and SDL2?
- Formula for converting XY pixel coordinate in 1920x1080 to 1366x768
Related Questions in MAGNIFICATION
- when i use the magnification api, i get a linker error?
- How to get the X and Y coordinates of the magnified image?
- Talkback reading extra comma in Android 12
- Android 10 Enabled Magnification is not working properly on my device
- How to 2x screen pixels so each pixel is represented as 4 pixels in a square?
- Trying to both magnify and track coordinates in React project
- How to zoom in on image in React
- Is it possible to optimize this formula?
- Is there a way to detect magnification accessibility feature from all shortcuts on android?
- Use Magnification API to capture sub screen failed on Windows10
- How to enlarge a part of the figure and insert it on top of the same plot?
- SwiftUI (Xcode 14.0.1) - Simultaneous Gestures (DragGesture & MagnificationGesture) - drag killed after magnification gesture activated
- Strange magnification behavior: scale starts at 1
- SwiftUI MagnificationGesture not working properly on Mac
- How to get the image underneath my Delphi form?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Display Changer II is the best software I can find.
1) Copy dc2.exe to
system32\folder.2)
dc2.exe -dccmd.exe –listmonitorsreturn the current screen resolution along with refresh rate and monitor type.3)
dc2.exe -width=1600 -height=900 -refresh=60 (more parameters can be added if desired)(E.g:dc2.exe -width=1600 -height=900 -refresh=60 cmd /c “C:\Program Files\text.txt”)