Saturday, July 24, 2010

VBS Script for Sending Key Strokes to Windows

Simply put, this script uses the sendkeys command to send various keystrokes to Windows.

set shl = createobject("wscript.shell")
shl.sendkeys "~"
wscript.sleep 1000
shl.sendkeys "~"
wscript.sleep 1000
shl.sendkeys "test"
wscript.sleep 1000

No comments:

Post a Comment

Generating "Always On Top" NSWindow in macOS across all detected displays

Also: Using UIKit & Cocoa Frameworks using Objective-C In m acOS or OS X , written in either Objective-C or Swift  Langues, you m...