Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Newbie question: Activating window and sending keyboard strokes

0 views
Skip to first unread message

John Tjin

unread,
Apr 4, 2001, 8:10:57 PM4/4/01
to
I would like to use VB script or any scripting language to automate
the procedure of closing a program gracefully.
For example closing Notepad: Activate Notepad, sending CTRL-S and
finally sending ALT-F4
Can somebody help me with this problem?

Markus Becker

unread,
Apr 5, 2001, 4:16:46 AM4/5/01
to

See the thread "sending messages to an application". And just a
hint: Notepad does _not_ save with ctrl-S ;-)

Markus

Karlbeesley

unread,
Apr 10, 2001, 12:03:38 PM4/10/01
to
Saving with notepad is better using ALT+F+S
0 new messages