<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'><div dir='ltr'>
Dear list members,<BR>Is there an extension or package for Racket that can call the Win32 API ? I don't need the whole API. I only need to execute a Win32 shell command to open a file with its default application indicated by the files extension. <BR><br><BR>I have a small python utility I want to convert to Racket but to do so I need this capability. The utility is written in Python with Pywin win32api extensions (and a tcl/tk gui) . The utility selects a file containing Sanskrit text in one transliteration scheme and has options to convert it into other transliteration schemes. But it also has an option to convert the text in the file into devanagari (a script of India) and to do so it executes a shell command through the win32api extensions to open a file with its default application identified by the file extension. The file extension is such that a third party windows application, a kind of combination editor/converter that does this conversion opens it. My script then waits until the file is closed (indicating the conversion is over) and then continues. The exact command in the Python extension Pywin Win32api I'd like to emulate in a Racket program is: win32api.shellexecute as described in this page of the documentation for win32api: <BR>http://timgolden.me.uk/pywin32-docs/win32api__ShellExecute_meth.html<BR><br><BR>One of the reasons I'm doing this conversion is also to get some practical experience using the Racket gui toolkit.<BR><br><BR>Thanks,<BR>Harry Spier<BR><br><BR>                                            </div></body>
</html>