1

I'm a digital artist working from home. I have two monitors: one is an actual 1920p Philips monitor and the other one is a 1920p Huion Kamvas drawing tablet. I use the tablet both as a drawing surface and a second monitor, which means I have it in front of me while I work, and I move it to the side when I'm done working. Every time I reposition it, though, I need to go into my display settings and rearrange my screens. It's a minor inconvenience, but I figured maybe there might be a way to assign this task to a hotkey, thus making my life a tiny bit easier.

I'd like to be able to toggle between two layouts, one stacked vertically and one lined up horizontally, like this.

I have a little experience with scripting languages like JS and PHP, but I've never touched PowerShell or anything of the sort before. Any help is sincerely appreciated :D

2
  • I've never used the MultiMonitorTool, so I don't know for sure how/if it works. If I'm not mistaken, settings PositionX and PositionY is what you need to do. To see what positions your screens are in at any time, checking the Bounds results of this ps code should do it: Add-Type -AssemblyName System.Windows.Forms; [System.Windows.Forms.Screen]::AllScreens. Commented Apr 28, 2023 at 22:02
  • BUT NOTE: The code probably shows window info at the time a PowerShell session opens, so may need to close and restart PS each time you run it. Commented Apr 28, 2023 at 22:25

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.