<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<font size="-1"><font face="Helvetica, Arial, sans-serif">I'm trying to
automate a GUI from Python.&nbsp; I've been using AutoHotKey but now in the
interest of speeding things up and simplifying my app's structure I am
porting my app to use winGuiAuto (which is a great help!) and the
Python win32 extensions.<br>
<br>
I've read the thread on this list titled "Help on using
win32api.SendMessage to send keystrokes," some of the PyWin32
documentation, and some of the MSDN docs on SendMessage, but am still
unclear about how to construct a message to send simple accelerator key
combinations to a window, such as the following:<br>
<br>
CONTROL+s<br>
SHIFT+END<br>
<br>
Could anyone point me to the right documentation to understand what
characters to include in the "message" argument of the
win32gui.SendMessage() call to send either of these two accelerator key
combinations?&nbsp; I just need a good example to get me going.<br>
<br>
Thanks in advance!<br>
<br>
Tim Black</font></font>
</body>
</html>