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
- Get Maximum Log Size
- Debugging Windows Services while starting
- Possible consequences of duplicate ProgId for different classes
- How to chain BCryptEncrypt and BCryptDecrypt calls using AES in GCM mode?
- mingw-64 conflicting declarations when cross-compiling
- I run an EXE program from a Windows Service but I can't see form C#?
- Why is PowerShell "not recognized" when installing Chocolatey?
- How to check if Windows device is phone or tablet/pc?
- How to add directories to Cygwin gcc default search path
- Can't install anything with pip2 on Windows 7 due to UnicodeDecodeError
- Active directory and linux nslcd binding without extending the AD schema
- How To Prevent Over Scrolling in Scroll Viewer Windows Phone 8.1
- Unicode error from pip install
- Where is the 'EnablePinning' property in the ribbon framework's recent items?
- How can I implement the same models and data across ASP.NET and Windows Apps
Related Questions in BATCH-FILE
- Get Maximum Log Size
- Running batch fine onclick delay
- Automating Telnet Scripts from .bat with a teamspeak instance
- Variable setting exhibits unexpected behavior when set inside for loop
- Execute a command over multiple files
- How to run multiple "mvn test"-commands from batch file?
- Referencing a Schema's table batch/perl
- Can I use \ and / to be directory delimiter in CLASSPATH of .bat
- SSIS exit code error with batch file
- CMD/BATCH - Had to run batch script 3 times to get full result
- Trying to create a Bath file that will copy a specific directory path (no lower) and zip the directories in that path
- curl command don't work in some cases
- Set environment in current cmd using batch script
- What is the correct way to pass the password to OpenSSL
- Batch file to process files in sub sub directory
Related Questions in SCREEN
- Preference Screen in SlidingTabLayout
- Transparent Activity in Android
- Android screen flips on usb keyboard connection
- How to get keystrokes with java outside of frames
- What is today's most popular screen resolution?
- Is there any android app to capture screen when anything gets change on screen?
- Will using dp take care of physical screen size?
- Using ncurses in c language
- Android - Unity3D freeze in splash screen on some phones
- View appearance/disappearance is fine on some device, not on others
- Android: How to find width and height of screen?
- vb.NET Screen Location
- optimizing div + screen resize JS block
- Python Tkinter application fit on screen
- Saving a bitmap in android but it's a black picture
Related Questions in RESOLUTION
- CSS Different screen resolution
- SpriteKit images out of focus
- When do we use media-queries "resolution" in css?
- How to change dynamic video resolution during a call (in hangout WebRTC)
- What is today's most popular screen resolution?
- LibGDX what resolution should I draw my Images (PoT or can i choose?)
- Iphone app only won't run at the right resolution on ipad
- screen resolution and scrolling bar
- Android. How can I make an ImageView draw itself as a PNG?
- Running iPhone apps on ipad in full resolution
- Android: PrintedPdfDocument Resolution has no effect
- Xamarin Forms Android display pictures throws Exception
- In what Units does QSvgGenerator operate in?
- AVMutableVideoComposition image overlay low quality
- Increasing image scale and maximizing resolution using opencv?
Related Questions in MAGNIFICATION
- OSX Yosemite Dock magnification disabled
- Magnification problems of Java Apps under Windows 10
- Android Magnification Gesture
- Android chrome magnification does not show iframe content
- Pricing table resize feel like the mac dock using html5 and/or css
- Android 10 Enabled Magnification is not working properly on my device
- Talkback reading extra comma in Android 12
- Circular rotating/magnifying menu with jquery
- How can I create Magnifier Component in WPF By using Magnification API
- Using Magnification API from WinForms to WPF
- How to tell Apple that my Cocoa app is not ready for high resolution?
- Adding zoom lens function inside an anchor tag image
- UWP Magnifier control (tool) that follows cursor
- SwiftUI: MagnificationGesture to zoom in centered on a CGPoint
- How to enlarge a part of the figure and insert it on top of the same plot?
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 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”)