Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Need Help Coding a VBScript


27 Nov 2009   #1

Windows 7 Ultimate_x64
 
 
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:

Code:
set DWinShell = WScript.CreateObject("WScript.Shell")
DWinShell.SendKeys "^n"


My System SpecsSystem Spec
.

Reply

 Need Help Coding a VBScript




Thread Tools



Similar help and support threads for2: Need Help Coding a VBScript
Thread Forum
[REQ] Coding Tutorial Website Chillout Room
Portable Coding Notepad... Chillout Room
Character coding problem on W7 Pro x64 General Discussion
Rainmeter coding Customization
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 06:13 AM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33