I am trying to include a context menu item which will duplicate and open a new window and then position both windows side by side. I attempted to use the SendKeys command to achieve this by using the WIN+Right Arrow and WIN+Left Arrow key combination, but apparently, the WIN key can't be used with the SendKey command. Is there another way to accomplish this?
As of now, I have my "Duplicate Window" added to the context menu and am able to open a new window, but I would also like for both windows to open side by side in one continuous step. Here is the script I made:
Code:
set DWinShell = WScript.CreateObject("WScript.Shell")
DWinShell.SendKeys "^n"