{"id":3884,"date":"2023-01-13T19:45:19","date_gmt":"2023-01-13T19:45:19","guid":{"rendered":"https:\/\/cocoalopez.com\/blog\/?p=3884"},"modified":"2023-01-13T19:45:21","modified_gmt":"2023-01-13T19:45:21","slug":"auto-switch-monitor-resolution-bat-and-qres","status":"publish","type":"post","link":"https:\/\/cocoalopez.com\/blog\/?p=3884","title":{"rendered":"Auto Switch Monitor Resolution BAT and Qres"},"content":{"rendered":"\n<p>Using qres and a cmd this script will switch from any specified resolution to the other and back just with running the BAT file.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>@echo off\n\nrem Get the current resolution\nset \"zzTmp=desktopmonitor get ScreenWidth^,ScreenHeight\"\nfor \/f \"tokens=4,5 delims=. \" %%a in ('ver') do set \"version=%%a%%b\"\nif version GTR 62 set \"zzTmp=path Win32_VideoController get CurrentHorizontalResolution^,CurrentVerticalResolution\"\nfor \/f %%s in ('wmic %zzTmp% \/value ^|find \"=\"') do set \"zZ%%s\" 1>nul 2>nul\nif defined zZCurrentHorizontalResolution set \"zZScreenWidth=%zZCurrentHorizontalResolution%\"\nif defined zZCurrentVerticalResolution set \"zZScreenHeight=%zZCurrentVerticalResolution%\"\nif not defined zZScreenWidth set \"zZScreenWidth=1024\" &amp; set \"zZScreenHeight=768\"\nset \/a zzSsW=%zZScreenWidth%\nset \/a zzSsH=%zZScreenHeight%\nset \"zzTmp=\"\nset \"zZScreenWidth=\"\nset \"zZScreenHeight=\"\nset \"zZCurrentHorizontalResolution=\"\nset \"zZCurrentVerticalResolution=\"\necho. Resolution : &#91;%zzSsW%]x&#91;%zzSsH%]\n\nrem Check the resolution and change it accordingly\nif \"%zzSsW%\"==\"2560\" (\n  qres \/x:1920 \/y:1080\n) else if \"%zzSsW%\"==\"1920\" (\n  qres \/x:2560 \/y:1440\n)\n<\/code><\/pre>\n\n\n\n<p>Download QRES from here: <a href=\"https:\/\/sourceforge.net\/projects\/qres\/\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/sourceforge.net\/projects\/qres\/<\/a><\/p>\n\n\n\n<p>look for qres.exe and place it in the same folder as the BAT file.<br>Run the bat file with the previous code and it will switch from 2560 to 1920 and back.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Using qres and a cmd this script will switch from any specified resolution to the other and back just with running the BAT file. Download QRES from here: https:\/\/sourceforge.net\/projects\/qres\/ look for qres.exe and place it in the same folder as the BAT file.Run the bat file with the previous code and it will switch from [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":3885,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[1002],"tags":[],"class_list":["post-3884","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-featured"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/cocoalopez.com\/blog\/wp-content\/uploads\/2023\/01\/image-3.png?fit=953%2C625&ssl=1","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p9XJix-10E","jetpack-related-posts":[{"id":3642,"url":"https:\/\/cocoalopez.com\/blog\/?p=3642","url_meta":{"origin":3884,"position":0},"title":"Collection of FFMPEG Drag &#038; Drop CMD\/BAT Tools","author":"cgmodeler","date":"July 2, 2022","format":false,"excerpt":"Here's a small collection of scripts i've made, downloaded, modified, etc to compress, edit, add, remux video files as well as converting mkv files without the need of re-rendering. Copy the code and save as a .bat file, save it on your ffmpeg bin folder or any command line if\u2026","rel":"","context":"In &quot;Featured&quot;","block_context":{"text":"Featured","link":"https:\/\/cocoalopez.com\/blog\/?cat=1002"},"img":{"alt_text":"close up photo of programming of codes","src":"https:\/\/i0.wp.com\/cocoalopez.com\/blog\/wp-content\/uploads\/2022\/07\/pexels-photo-546819.jpeg?fit=1200%2C797&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/cocoalopez.com\/blog\/wp-content\/uploads\/2022\/07\/pexels-photo-546819.jpeg?fit=1200%2C797&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/cocoalopez.com\/blog\/wp-content\/uploads\/2022\/07\/pexels-photo-546819.jpeg?fit=1200%2C797&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/cocoalopez.com\/blog\/wp-content\/uploads\/2022\/07\/pexels-photo-546819.jpeg?fit=1200%2C797&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/cocoalopez.com\/blog\/wp-content\/uploads\/2022\/07\/pexels-photo-546819.jpeg?fit=1200%2C797&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":3334,"url":"https:\/\/cocoalopez.com\/blog\/?p=3334","url_meta":{"origin":3884,"position":1},"title":"Wacom Service Automatic Restart Tool","author":"cgmodeler","date":"October 17, 2021","format":false,"excerpt":"So you've been having issues with your wacom tablet (Intuos, Cintiq, Grapphire) :P and it stops being pressure sensitive or it just stops displaying the cursor altogether. Then the only solution is to open Services.msc and stop\/start the wacom service manually? I made a tool that does it automatically for\u2026","rel":"","context":"In &quot;Featured&quot;","block_context":{"text":"Featured","link":"https:\/\/cocoalopez.com\/blog\/?cat=1002"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/cocoalopez.com\/blog\/wp-content\/uploads\/2021\/10\/imagen-10.png?fit=978%2C511&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/cocoalopez.com\/blog\/wp-content\/uploads\/2021\/10\/imagen-10.png?fit=978%2C511&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/cocoalopez.com\/blog\/wp-content\/uploads\/2021\/10\/imagen-10.png?fit=978%2C511&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/cocoalopez.com\/blog\/wp-content\/uploads\/2021\/10\/imagen-10.png?fit=978%2C511&ssl=1&resize=700%2C400 2x"},"classes":[]},{"id":2036,"url":"https:\/\/cocoalopez.com\/blog\/?p=2036","url_meta":{"origin":3884,"position":2},"title":"Export Options para FBX Maya 2013 a Max 2009","author":"cgmodeler","date":"December 29, 2016","format":false,"excerpt":"Exportar animaci\u00f3n con deformaciones, din\u00e1micos y rig desde MAYA 2013 a Max 2009 Para exportar una geometr\u00eda con din\u00e1micos, hair driven joints, sine waves, wire deforms etc. Crear un Set para la geometr\u00eda skinneada para tener algo que seleccionar en el CACHE al exportar: Con la geometr\u00eda seleccionada ir a\u2026","rel":"","context":"In &quot;3d &amp; Design&quot;","block_context":{"text":"3d &amp; Design","link":"https:\/\/cocoalopez.com\/blog\/?cat=2"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/cocoalopez.com\/blog\/wp-content\/uploads\/2016\/12\/chrome_2017-02-26_20-07-17.png?fit=434%2C496&ssl=1&resize=350%2C200","width":350,"height":200},"classes":[]},{"id":2687,"url":"https:\/\/cocoalopez.com\/blog\/?p=2687","url_meta":{"origin":3884,"position":3},"title":"Maya 2013 FBX export with deformers for 3DSMAX","author":"cgmodeler","date":"May 16, 2018","format":false,"excerpt":"Para exportar desde Maya 2013 a FBX con deformadores, animaci\u00f3n per-vertex, una vez que se anim\u00f3 en base a un rig y despu\u00e9s se modific\u00f3 el mesh per vtx. Seleccionar la geometr\u00eda que vamos a exportar \"Eg. GEO LAYER\" Hacer un Selection Set con el nombre \"Export_SET\" en el Men\u00fa\u2026","rel":"","context":"In &quot;Featured&quot;","block_context":{"text":"Featured","link":"https:\/\/cocoalopez.com\/blog\/?cat=1002"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/cocoalopez.com\/blog\/wp-content\/uploads\/2018\/05\/456667304.jpg?fit=1200%2C725&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/cocoalopez.com\/blog\/wp-content\/uploads\/2018\/05\/456667304.jpg?fit=1200%2C725&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/cocoalopez.com\/blog\/wp-content\/uploads\/2018\/05\/456667304.jpg?fit=1200%2C725&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/cocoalopez.com\/blog\/wp-content\/uploads\/2018\/05\/456667304.jpg?fit=1200%2C725&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/cocoalopez.com\/blog\/wp-content\/uploads\/2018\/05\/456667304.jpg?fit=1200%2C725&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":3835,"url":"https:\/\/cocoalopez.com\/blog\/?p=3835","url_meta":{"origin":3884,"position":4},"title":"Prevent your hosted e-mail to go to spam or get rejected by hotmail\/gmail, etc..","author":"cgmodeler","date":"December 10, 2022","format":false,"excerpt":"Make sure you have DMARC; DKIM and SPF setup. Follow these instructions. https:\/\/mediatemple.net\/community\/products\/dv\/204405554\/how-do-i-enable-dkim-domainkeys-on-vps-hosting https:\/\/snov.io\/blog\/how-to-set-up-spf-dkim-dmarc\/ https:\/\/snov.io\/blog\/how-to-set-up-spf-dkim-dmarc\/","rel":"","context":"In &quot;Featured&quot;","block_context":{"text":"Featured","link":"https:\/\/cocoalopez.com\/blog\/?cat=1002"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/cocoalopez.com\/blog\/wp-content\/uploads\/2022\/12\/image-1.png?fit=830%2C400&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/cocoalopez.com\/blog\/wp-content\/uploads\/2022\/12\/image-1.png?fit=830%2C400&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/cocoalopez.com\/blog\/wp-content\/uploads\/2022\/12\/image-1.png?fit=830%2C400&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/cocoalopez.com\/blog\/wp-content\/uploads\/2022\/12\/image-1.png?fit=830%2C400&ssl=1&resize=700%2C400 2x"},"classes":[]},{"id":3760,"url":"https:\/\/cocoalopez.com\/blog\/?p=3760","url_meta":{"origin":3884,"position":5},"title":"IMPROVE MAYA STARTUP AND SHUTDOWN TIMES","author":"cgmodeler","date":"October 13, 2022","format":false,"excerpt":"Since Maya 2016, it launches with a set of at least 3 acwebbrowser.exe process. Besides all the fuss it creates in the task manager and resource hog it can be, it can also slow down Maya startup and shutdown times by more than 200%, up to 30 seconds each time!\u2026","rel":"","context":"In &quot;Featured&quot;","block_context":{"text":"Featured","link":"https:\/\/cocoalopez.com\/blog\/?cat=1002"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/cocoalopez.com\/blog\/wp-content\/uploads\/2022\/10\/improve-maya-startup-and-shutdown-times.jpg?fit=640%2C394&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/cocoalopez.com\/blog\/wp-content\/uploads\/2022\/10\/improve-maya-startup-and-shutdown-times.jpg?fit=640%2C394&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/cocoalopez.com\/blog\/wp-content\/uploads\/2022\/10\/improve-maya-startup-and-shutdown-times.jpg?fit=640%2C394&ssl=1&resize=525%2C300 1.5x"},"classes":[]}],"_links":{"self":[{"href":"https:\/\/cocoalopez.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/3884","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cocoalopez.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cocoalopez.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cocoalopez.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/cocoalopez.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3884"}],"version-history":[{"count":1,"href":"https:\/\/cocoalopez.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/3884\/revisions"}],"predecessor-version":[{"id":3886,"href":"https:\/\/cocoalopez.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/3884\/revisions\/3886"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/cocoalopez.com\/blog\/index.php?rest_route=\/wp\/v2\/media\/3885"}],"wp:attachment":[{"href":"https:\/\/cocoalopez.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3884"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cocoalopez.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3884"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cocoalopez.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3884"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}