vbscript


SendKeys windows + Another key


I am trying to open a process on the taskbar by using the shortcut "Windows + 2", or any other number. My code looks like this
Set WshShell = WScript.CreateObject("WScript.Shell")
WshShell.Sendkeys "(^{ESC}2)"
The code only opens the windows menu then types 2. How do I send both simultaneously?
(P.S., I do not wish to open the program using the run command through its location on system.)

Related Links

Is there a way to call a VBS fuction inside Post processor Beanshell - Jmeter
Pulling Registry Values not working
Proper deletion of bad character strings in classic ASP
WshShell.Run doesn't work in one computer
VB Script - How to display warning a message box when user tries to shutdown or sleep system
Generating Random Numbers and Letters
Assign values in a loop in Classic ASP
vbscript 800A0046 Error copying library to SSMS Extension folder
Read the line from a text file with the particular string using vbscript
Invalid Procedure call or argument when changing path
Using VBScript to return ipv4 addresses as variables
VBScript not handling Save As box correctly
How to read a specific line data [duplicate]
VBScript output shell.run to log file
How to download a file using 'Microsoft.XmlHttp' or 'winhttp.winhttprequest.5.1' [duplicate]
Entering Text into Webpage Form

Categories

HOME
hook
activiti
plot
filtering
analysis
yarn
tizen-web-app
sql-server-2016
baqend
installshield
datastax-java-driver
azure-media-services
bs4
node-notifier
synchronization
midi
windows-azure-storage
jplayer
circular-dependency
iolanguage
lombok
nas
sparse-matrix
su
internet-explorer-9
brunch
info.plist
assistant
ejabberd-module
windowbuilder
procdump
gsoap
microsoft-chart-controls
yadcf
exuberant-ctags
oracle-fusion-middleware
create-table
code-contracts
hybridauth
avcapturesession
android-nestedscrollview
environment-modules
retina-display
dynamics-crm-2013
objectlistview
cookiecutter-django
unoconv
galleria
scrollable
pango
powercli
rdfs
nstextview
libusb-win32
pearson
blacklist
migradoc
pintos
nested-sets
adxstudio-portals
pcf
bluemix-app-scan
wapiti
browser-link
freelancer.com-api
jfugue
javax.sound.midi
execute
simple-framework
angular-leaflet-directive
csquery
sorl-thumbnail
fpml
aapt
doskey
google-cloud-save
html4
eventual-consistency
ocunit
isnullorempty
objective-c-2.0
uiviewanimation-curve
buildr
gcj
propagation
floating
visitor-statistic
forums
thunderbird-lightning
meego
iweb
ctp4
swing-app-framework
spec#
mdac
windows-live-messenger

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App