automate – Programmatically Set Minimum Width in Developer Options


How do I programmatically set the Minimum Width in Android’s Developer Options from Llamalab’s Automate app?

I use Your Phone on Windows 10 to view my phone’s screen. I maximize the window to get the full size of my monitor. With a minimum width of 1500, the phone is kind of like a tablet. I would like to set the Minimum Width to 1500 when viewing the screen on my monitor and 486 (the default?) when viewing the screen on my phone.