|27 Nov 2009||#1|
| || |
Need Help Coding a VBScript
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:
set DWinShell = WScript.CreateObject("WScript.Shell") DWinShell.SendKeys "^n"
|My System Specs|
|Similar help and support threads for2: Need Help Coding a VBScript|
|[REQ] Coding Tutorial Website||Chillout Room|
|Portable Coding Notepad...||Chillout Room|
|Character coding problem on W7 Pro x64||General Discussion|
|Intros and coding||Chillout Room|
|Microsoft.NET and C# coding||Software|
|Dangerous coding errors revealed||Chillout Room|
|Our Sites ||Site Links ||About Us ||Find Us |
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd
All times are GMT -5. The time now is 03:03 PM.